Apache Tomcat Leaks Pathname Information via Error Message
Apache Tomcat 4.0.1 allows remote attackers to obtain the web root path via HTTP requests for JSP files preceded by (1) +/, (2) >/, (3) </, and (4) %20/, which leaks the pathname in an error message.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.tomcat:tomcat | >= 4.0.0, <= 4.0.1 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2002-2009
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42915
- https://github.com/apache/tomcat
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E
- https://web.archive.org/web/20200302170930/https://www.securityfocus.com/bid/4557
- http://tomcat.apache.org/security-4.html
- http://www.derkeiler.com/Mailing-Lists/securityfocus/bugtraq/2002-04/0286.html
- http://www.derkeiler.com/Mailing-Lists/securityfocus/bugtraq/2002-04/0297.html
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N- Weakness (CWE)
CWE-209- Platform
- Java / Kotlin (Maven)
- Package
org.apache.tomcat:tomcat- Disclosed
- 30.04.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-r6cf-cr44-m8rr - CC BY 4.0
Vulnerability history: org.apache.tomcat:tomcat
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 162
- First → latest
- 12.2018 08.2026
- Without a fix
- 20
- Exploited in attacks
- 1
Severity breakdown
- Critical 8
- High 40
- Medium 102
- Low 12
Disclosures per year
- 2018: 1
- 2019: 1
- 2020: 2
- 2021: 5
- 2022: 125
- 2023: 3
- 2024: 2
- 2025: 4
- 2026: 19
-
Apache Tomcat Leaks Pathname Information via Error Message this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.