CVE-2003-0042 Tomcat
| Affected software | Tomcat |
|---|---|
| Severity | 5.0 Medium CVSS 2.0 |
| Fixed in | 3.3.1a |
| Weakness | Path traversal (CWE-22) |
| Published | 7 Feb 2003 |
| Updated | 16 Jun 2026 |
Description
Jakarta Tomcat before 3.3.1a, when used with JDK 1.3.1 or earlier, allows remote attackers to list directories even with an index.html or other file present, or obtain unprocessed source code for a JSP file, via a URL containing a null character.
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 1 indexed Published artifacts you can open, in Exploit-DB; first seen 2003-01-26.
- EPSS 46% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| Exploit-DB | Apache Tomcat 3.x - Null Byte Directory / File Disclosure | 2003-01-26 |
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-2003-0042
Upgrade Tomcat to 3.3.1a or later. 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 |
0 | 3.3.1a |
unbounded |
References
Timeline
Timeline
| Published | 2003-02-07 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-16 | NVD's own last-modified date for this record. |