Skip to content
WatchlistMedium

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

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
ProductAffected versionsFixed in
TomcatApache3.0, 3.1, 3.1.1, 3.2, 3.2.1, 3.2.3, 3.2.4, 3.33.3a-4woody.1
org.apache.tomcat:tomcatmavenSee advisory3.3.1a

Patched Releases

org.apache.tomcat:tomcat

3.3.1a

Tomcat

3.3a-4woody.1

Timeline

  1. Publicly disclosed

    Apr 29, 2022

  2. Last updated

    Mar 9, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

References

10 more references in the full CVE brief

FAQ

Common Questions.

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

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.