{"id":"CVE-2008-2938","aliases":["EDB-14489","EDB-6229","GHSA-m7xj-ccqc-p4g2"],"kind":"cve","tier":"cold","status":"published","title":"Apache Tomcat Directory Traversal vulnerability","description":"Directory traversal vulnerability in Apache Tomcat 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16, when allowLinking and UTF-8 are enabled, allows remote attackers to read arbitrary files via encoded directory traversal sequences in the URI, a different vulnerability than CVE-2008-2370.  NOTE: versions earlier than 6.0.18 were reported affected, but the vendor advisory lists 6.0.16 as the last affected version.","ai_summary":null,"severity":"medium","cvss":{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","source":"NVD"},"scores":[{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","source":"nvd"}],"cwe":["CWE-22"],"remote":true,"remote_unauth":true,"epss":{"score":0.99708,"percentile":0.99951,"date":"2026-12-03"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[6229,14489]},"affected":[{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat","affected":">= 4.1.0, < 4.1.39","fixed":["4.1.39","5.5.27","6.0.18"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade org.apache.tomcat:tomcat to one of 4.1.39, 5.5.27, 6.0.18 (or later in the same release line).","technologies":[],"references":[{"url":"http://tomcat.apache.org/security-4.html","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0862.html","kind":"vendor"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00889.html","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:188","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0864.html","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html","kind":"vendor"},{"url":"http://tomcat.apache.org/security-6.html","kind":"vendor"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00712.html","kind":"vendor"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00859.html","kind":"vendor"},{"url":"http://tomcat.apache.org/security-5.html","kind":"vendor"},{"url":"http://marc.info/?l=bugtraq&m=123376588623823&w=2","kind":"vendor"},{"url":"http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0648.html","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2938","kind":"vendor"},{"url":"https://github.com/apache/tomcat/commit/c55ad56ed72ee1dbfe790bc5492d4df74e3e754f","kind":"patch"},{"url":"https://www.exploit-db.com/exploits/6229","kind":"exploit"},{"url":"https://www.exploit-db.com/exploits/14489","kind":"exploit"},{"url":"http://secunia.com/advisories/37297","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2008/2823","kind":"other"},{"url":"http://secunia.com/advisories/31982","kind":"other"},{"url":"http://www.securityfocus.com/bid/31681","kind":"other"},{"url":"http://secunia.com/advisories/32120","kind":"other"},{"url":"http://www.kb.cert.org/vuls/id/343355","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44411","kind":"other"},{"url":"http://secunia.com/advisories/31865","kind":"other"},{"url":"http://secunia.com/advisories/31639","kind":"other"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10587","kind":"other"},{"url":"http://www.securitytracker.com/id?1020665","kind":"other"},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2009/0320","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2008/2343","kind":"other"},{"url":"http://www.securityfocus.com/bid/30633","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/507729/100/0/threaded","kind":"other"},{"url":"http://secunia.com/advisories/32222","kind":"other"},{"url":"http://secunia.com/advisories/31891","kind":"other"},{"url":"http://secunia.com/advisories/33797","kind":"other"},{"url":"http://securityreason.com/securityalert/4148","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/495318/100/0/threaded","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2008/2780","kind":"other"},{"url":"http://www.securenetwork.it/ricerca/advisory/download/SN-2009-02.txt","kind":"other"},{"url":"http://support.apple.com/kb/HT3216","kind":"other"},{"url":"http://secunia.com/advisories/32266","kind":"other"},{"url":"https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E","kind":"other"},{"url":"https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E","kind":"other"},{"url":"https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E","kind":"other"},{"url":"https://web.archive.org/web/20090207111236/http://secunia.com/advisories/33797","kind":"other"},{"url":"https://web.archive.org/web/20090308065055/http://secunia.com/advisories/31865","kind":"other"},{"url":"https://web.archive.org/web/20100516085845/http://secunia.com/advisories/37297","kind":"other"},{"url":"https://web.archive.org/web/20110711210039/http://rhn.redhat.com/errata/RHSA-2008-0862.html","kind":"other"},{"url":"https://web.archive.org/web/20110713233239/http://rhn.redhat.com/errata/RHSA-2008-0648.html","kind":"other"},{"url":"https://web.archive.org/web/20110713234158/http://rhn.redhat.com/errata/RHSA-2008-0864.html","kind":"other"},{"url":"https://web.archive.org/web/20140628064423/http://www.securityfocus.com/archive/1/495318/100/0/threaded","kind":"other"},{"url":"https://web.archive.org/web/20140628064448/http://www.securityfocus.com/archive/1/507729/100/0/threaded","kind":"other"},{"url":"https://web.archive.org/web/20140826163457/http://www.securityfocus.com/bid/30633","kind":"other"},{"url":"https://web.archive.org/web/20140826171227/http://www.securitytracker.com/id?1020665","kind":"other"},{"url":"https://web.archive.org/web/20140826232500/http://www.securityfocus.com/bid/31681","kind":"other"},{"url":"https://web.archive.org/web/20140827130327/http://www.securenetwork.it/ricerca/advisory/download/SN-2009-02.txt","kind":"other"},{"url":"https://web.archive.org/web/20200612070417/http://marc.info/?l=bugtraq&m=123376588623823&w=2","kind":"other"},{"url":"https://github.com/apache/tomcat","kind":"other"},{"url":"https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E","kind":"other"},{"url":"https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E","kind":"other"},{"url":"https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E","kind":"other"},{"url":"https://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html","kind":"other"},{"url":"https://web.archive.org/web/20080827130946/http://securityreason.com/securityalert/4148","kind":"other"},{"url":"https://web.archive.org/web/20090201124623/http://secunia.com/advisories/31639","kind":"other"},{"url":"https://web.archive.org/web/20090201124633/http://secunia.com/advisories/31891","kind":"other"},{"url":"https://web.archive.org/web/20090201124638/http://secunia.com/advisories/32120","kind":"other"},{"url":"https://web.archive.org/web/20090201124957/http://secunia.com/advisories/31982","kind":"other"},{"url":"https://web.archive.org/web/20090201125002/http://secunia.com/advisories/32266","kind":"other"},{"url":"https://web.archive.org/web/20090201141000/http://secunia.com/advisories/32222","kind":"other"}],"workarounds":null,"vendors":["apache"],"products":["tomcat"],"cpes":["cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*"],"published_at":"2008-08-11T00:00:00.000Z","modified_at":"2026-06-16T22:54:46.543Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2938"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-m7xj-ccqc-p4g2","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/6229"}],"links":{"html":"https://flawdb.com/CVE-2008-2938","markdown":"https://flawdb.com/CVE-2008-2938.md","json":"https://flawdb.com/api/v1/entries/CVE-2008-2938"}}