CVE-2003-0042Tomcat Path Traversal
Jakarta Tomcat Directory Listing vulnerability
Published Apr 29, 2022 · Updated Mar 9, 2026 · Also known as DEBIAN-CVE-2003-0042, DEBIAN-CVE-2003-0043, DEBIAN-CVE-2003-0044, DSA-246, GHSA-qfw2-wvrw-mvw4
Key Facts
Routine patching- CVE-2003-0042 is a medium-severity vulnerability (CVSS 5.0 v2) affecting Tomcat (Apache), org.apache.tomcat:tomcat (maven).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 46% probability of exploitation in the next 30 days.
- Fixed versions are available, including org.apache.tomcat:tomcat 3.3.1a, Tomcat 3.3a-4woody.1.
- Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Scores
CVSS v2
5.0
AV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS (30-day exploit likelihood)
46%
Higher than 98.7% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
37/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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.
Affected Products
11 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| TomcatApache | 3.0, 3.1, 3.1.1, 3.2, 3.2.1, 3.2.3, 3.2.4, 3.3 | 3.3a-4woody.1 |
| org.apache.tomcat:tomcatmaven | See advisory | 3.3.1a |
Patched Releases
org.apache.tomcat:tomcat
3.3.1a
Tomcat
3.3a-4woody.1
Timeline
Publicly disclosed
Apr 29, 2022
Last updated
Mar 9, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- advisorynvd.nist.gov · CVE-2003-0042
- advisoryjakarta.apache.org · v3.3.1a
- advisoryGHSA advisory
- exploitExploitDB-22205
- articlejakarta.apache.org · v3.3.1a
FAQ
Common Questions.
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.
Affected: Tomcat (Apache) versions 3.0, 3.1, 3.1.1, 3.2, 3.2.1, 3.2.3, 3.2.4, 3.3; org.apache.tomcat:tomcat (maven). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including org.apache.tomcat:tomcat 3.3.1a, Tomcat 3.3a-4woody.1.
Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Is CVE-2003-0042 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo