Every CVESearch/Get API key

CVE-2003-0042

Jakarta Tomcat Directory Listing vulnerability

5.0 MediumPublic exploitFix available

CVE-2003-0042 is a medium vulnerability (CVSS 5.0) in Apache Tomcat, published January 29, 2003. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 46.0%, the 98th percentile. Fixed in org.apache.tomcat:tomcat 3.3.1a.

What does this mean?
Severity
5.0 MediumCVSS 2.0, NVD
Exploit chance
46.0%EPSS, 98th percentile
Exploitation
None known1 public exploit

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.

Exploit likelihood

46.0%Up 13.0 points since Feb 4, 2022
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.tomcat:tomcat
Maven
before 3.3.1a
3.3.1a
tomcat
Debian:3.0
From an advisory covering 3 CVEs
before 3.3a-4woody.1, plus listed versions
3.3a-4woody1
3.3a-4woody.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBApache Tomcat 3.x - Null Byte Directory / File Disclosure2003-01-26

What each source reports

NVD Score used5.0

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.

Record
CVE-2003-0042
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Updated
2026-11-02
CVE ListNo score

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.

Record
CVE-2003-0042
Updated
2026-11-02
EUVDEUVD-2022-1814No score

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.

Record
EUVD-2022-1814
Updated
2026-11-03
GitHub AdvisoriesGHSA-qfw2-wvrw-mvw4No score

Jakarta Tomcat Directory Listing vulnerability

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.

Record
GHSA-qfw2-wvrw-mvw4
Weakness
CWE-22
Updated
2026-11-02
OSVGHSA-qfw2-wvrw-mvw4No score

Jakarta Tomcat Directory Listing vulnerability

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.

Record
GHSA-qfw2-wvrw-mvw4
Weakness
CWE-22
Updated
2026-11-02

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 7 moreShow less
MoveEnter Open