{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-0450 exists.","fix":"Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 5.5.22 or 6.0.10.","what":"CVE-2007-0450 is a medium-severity path traversal vulnerability in Apache Http Server, published on 16 Mar 2007. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2007-0450 and fix it if it is affected.\n\nWhat it is: CVE-2007-0450 is a medium-severity path traversal vulnerability in Apache Http Server, published on 16 Mar 2007. 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-2007-0450 exists.\n\nAffected packages and fixed versions:\n- org.apache.tomcat:tomcat (Maven): affected from 5.0; fixed in 5.5.22\n- org.apache.tomcat:tomcat (Maven): affected from 5.0; fixed in 5.5.22\n- org.apache.tomcat:tomcat (Maven): affected from 6.0; fixed in 6.0.10\n- org.apache.tomcat:tomcat (Maven): affected from 6.0; fixed in 6.0.10\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-2007-0450/ (Markdown: https://insights.sbomify.com/CVE-2007-0450/index.md)","id":"CVE-2007-0450","markdown":"https://insights.sbomify.com/CVE-2007-0450/index.md","name":"CVE-2007-0450","record":{"aliases":["GHSA-4prh-gqw8-rgh5","MINI-6vfq-x5r4-p5gj"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Tomcat server","requires_auth":"none","summary":"Remote attackers can read arbitrary files via directory traversal in Apache Tomcat when using specific proxy modules with mixed slash separators.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"http_server","vendor":"apache"},{"product":"tomcat","vendor":"apache"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Directory traversal vulnerability in Apache HTTP Server and Tomcat 5.x before 5.5.22 and 6.x before 6.0.10, when using certain proxy modules (mod_proxy, mod_rewrite, mod_jk), allows remote attackers to read arbitrary files via a .. (dot dot) sequence with combinations of (1) \"/\" (slash), (2) \"\\\" (backslash), and (3) URL-encoded backslash (%5C) characters in the URL, which are valid separators in Tomcat but not in Apache.","ecosystems":["Maven"],"exploits":{"exploitdb":1,"first_seen":"2007-03-14","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2007-03-14","kind":"exploitdb","ref":"29739","stars":null,"title":"Apache Tomcat 5.x/6.0.x - Directory Traversal"}],"tier":"weaponised"},"has_fix":true,"headline":"Apache Tomcat Directory Traversal","id":"CVE-2007-0450","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"apache:http_server","products":["apache:http_server","apache:tomcat"],"type":"path_traversal","year":"2007"},"n_packages":4,"n_references":57,"next":{"headline":"Denial of service in n/a","id":"CVE-2007-0451"},"packages":[{"ecosystem":"Maven","fixed":["5.5.22"],"introduced":["5.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":null,"source":"GHSA-4prh-gqw8-rgh5"},{"ecosystem":"Maven","fixed":["5.5.22"],"introduced":["5.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"GHSA-4prh-gqw8-rgh5"},{"ecosystem":"Maven","fixed":["6.0.10"],"introduced":["6.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":null,"source":"GHSA-4prh-gqw8-rgh5"},{"ecosystem":"Maven","fixed":["6.0.10"],"introduced":["6.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"GHSA-4prh-gqw8-rgh5"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2007-0449"},"products":["n/a"],"published":"2007-03-16","related":[{"cvss_score":9.8,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-42013","kev_date_added":"2021-11-03","published":"2021-10-07"},{"cvss_score":9.1,"headline":"Apache HTTP Server Improper Escaping of Output","id":"CVE-2024-38475","kev_date_added":"2025-05-01","published":"2024-07-01"},{"cvss_score":9,"headline":"Apache HTTP Server-Side Request Forgery (SSRF)","id":"CVE-2021-40438","kev_date_added":"2021-12-01","published":"2021-09-16"},{"cvss_score":7.8,"headline":"Apache HTTP Server Privilege Escalation","id":"CVE-2019-0211","kev_date_added":"2021-11-03","published":"2019-04-08"},{"cvss_score":7.5,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-41773","kev_date_added":"2021-11-03","published":"2021-10-05"},{"cvss_score":10,"headline":"Use after free in n/a","id":"CVE-2010-0425","kev_date_added":null,"published":"2010-03-05"},{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2005-2700","kev_date_added":null,"published":"2005-09-06"}],"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":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can read arbitrary files via directory traversal in Apache Tomcat when using specific proxy modules with mixed slash separators.","url":"https://insights.sbomify.com/CVE-2007-0450/"}