{"answers":{"affected":"2 open source packages ship an affected version, including com.caucho:resin. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-44138 exists.","fix":"No fix has been published for CVE-2021-44138 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-44138 is a high-severity path traversal vulnerability in n/a, published on 4 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-44138 and fix it if it is affected.\n\nWhat it is: CVE-2021-44138 is a high-severity path traversal vulnerability in n/a, published on 4 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-44138 exists.\n\nAffected packages and fixed versions:\n- com.caucho:resin (Maven): affected from 4.0.52 up to 4.0.56; no fix listed\n- com.caucho:resin (Maven): affected from 4.0.52 up to 4.0.56; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-44138/ (Markdown: https://insights.sbomify.com/CVE-2021-44138/index.md)","id":"CVE-2021-44138","markdown":"https://insights.sbomify.com/CVE-2021-44138/index.md","name":"CVE-2021-44138","record":{"aliases":["GHSA-4w2q-9hp2-vxj5"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Resin web server","requires_auth":"none","summary":"Remote attackers can read arbitrary files via directory traversal in Caucho Resin web server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"resin","vendor":"caucho"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"There is a Directory traversal vulnerability in Caucho Resin, as distributed in Resin 4.0.52 - 4.0.56, which allows remote attackers to read files in arbitrary directories via a ; in a pathname within an HTTP request.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-44138.yaml","stars":null,"title":"Caucho Resin \u003e=4.0.52 \u003c=4.0.56 - Directory traversal"}],"tier":"weaponised"},"has_fix":false,"headline":"Path Traversal in Caucho Resin","id":"CVE-2021-44138","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2021"},"n_packages":2,"n_references":1,"next":{"headline":"Server-side request forgery in n/a","id":"CVE-2021-44139"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["4.0.52"],"last_affected":["4.0.56"],"package":"com.caucho:resin","purl":null,"source":"GHSA-4w2q-9hp2-vxj5"},{"ecosystem":"Maven","fixed":[],"introduced":["4.0.52"],"last_affected":["4.0.56"],"package":"com.caucho:resin","purl":"pkg:maven/com.caucho/resin","source":"GHSA-4w2q-9hp2-vxj5"}],"prev":{"headline":"SQL injection in pagekit/pagekit","id":"CVE-2021-44135"},"products":["n/a"],"published":"2022-04-04","related":[{"cvss_score":7.5,"headline":"Caucho Quercus, as distributed in Resin, does not properly handle unspecified characters in the names of variables","id":"CVE-2012-2965","kev_date_added":null,"published":"2012-08-12"},{"cvss_score":7.5,"headline":"Caucho Quercus, as distributed in Resin, overwrites entries in SERVER superglobal array on basis of POST parameters","id":"CVE-2012-2966","kev_date_added":null,"published":"2012-08-12"},{"cvss_score":7.5,"headline":"Caucho Quercus, as distributed in Resin, does not properly implement the `==` operator for comparisons","id":"CVE-2012-2967","kev_date_added":null,"published":"2012-08-12"},{"cvss_score":6.4,"headline":"Path traversal in n/a","id":"CVE-2012-2969","kev_date_added":null,"published":"2012-08-12"},{"cvss_score":5,"headline":"Security feature bypass in n/a","id":"CVE-2014-2966","kev_date_added":null,"published":"2014-07-26"},{"cvss_score":5,"headline":"Path traversal in n/a","id":"CVE-2012-2968","kev_date_added":null,"published":"2012-08-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Remote attackers can read arbitrary files via directory traversal in Caucho Resin web server.","url":"https://insights.sbomify.com/CVE-2021-44138/"}