CVE-2008-2938 Apache Tomcat
| Affected software | Apache Tomcat |
|---|---|
| Severity | 4.3 Medium CVSS 2.0 |
| Fixed in | 4.1.39, 5.5.27, 6.0.18 |
| Weakness | Path traversal (CWE-22) |
| Published | 13 Aug 2008 |
| Updated | 16 Jun 2026 |
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.
Exploitation status
Working exploit published
A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC 3 indexed Published artifacts you can open, in Exploit-DB, GitHub PoC; first seen 2008-08-11.
- EPSS 99.7% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.9% of all scored CVEs.
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | Reproducible exploits for: CVE-2016-1240 CVE-2008-2938 CVE-2014-2064 CVE-2014-1904 | 1 | 2016-10-13 |
| Exploit-DB | Apache Tomcat < 6.0.18 - 'utf8' Directory Traversal | 2010-07-28 | |
| Exploit-DB | Apache Tomcat < 6.0.18 - 'utf8' Directory Traversal (PoC) | 2008-08-11 |
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Path traversal
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal. |
How to mitigate CVE-2008-2938
Upgrade Apache Tomcat to a release that fixes it: 4.1.39, 5.5.27 or 6.0.18. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.tomcat:tomcat |
4.1.0 | 4.1.39 |
unbounded |
org.apache.tomcat:tomcat |
5.5.0 | 5.5.27 |
unbounded |
org.apache.tomcat:tomcat |
6.0.0 | 6.0.18 |
unbounded |
References
Timeline
Timeline
| Published | 2008-08-13 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-16 | NVD's own last-modified date for this record. |