cve.bz

CVE-2008-5515 apache tomcat: Path traversal

no score yetEPSS 19%Fix available

apache tomcat: no CVSS score yet. EPSS 19% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 4.1.40, 5.5.28, 6.0.20.

On this page
Apache Tomcat 4.1.0 through 4.1.39, 5.5.0 through 5.5.27, 6.0.0 through 6.0.18, and possibly earlier versions normalizes the target pathname before filtering the query string when using the RequestDispatcher method, which allows remote attackers to bypass intended access restrictions and conduct directory traversal attacks via .. (dot dot) sequences and the WEB-INF directory in a Request.
EPSS
19% (unchanged from 19% a week ago; 19% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2008-5515 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-5515?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-5515?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2008-5515 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:tomcat4.1.0
apache:tomcat4.1.1
apache:tomcat4.1.2
apache:tomcat4.1.3
apache:tomcat4.1.10
apache:tomcat4.1.11
apache:tomcat4.1.12
apache:tomcat4.1.13
apache:tomcat4.1.14
apache:tomcat4.1.15
apache:tomcat4.1.16
apache:tomcat4.1.17
apache:tomcat4.1.18
apache:tomcat4.1.19
apache:tomcat4.1.20
apache:tomcat4.1.21
apache:tomcat4.1.22
apache:tomcat4.1.23
apache:tomcat4.1.24
apache:tomcat4.1.25
apache:tomcat4.1.26
apache:tomcat4.1.27
apache:tomcat4.1.28
apache:tomcat4.1.29
apache:tomcat4.1.30
apache:tomcat4.1.31
apache:tomcat4.1.32
apache:tomcat4.1.33
apache:tomcat4.1.34
apache:tomcat4.1.35
apache:tomcat4.1.36
apache:tomcat4.1.37
apache:tomcat4.1.38
apache:tomcat4.1.39
apache:tomcat5.5.0
apache:tomcat5.5.1
apache:tomcat5.5.2
apache:tomcat5.5.3
apache:tomcat5.5.4
apache:tomcat5.5.5
apache:tomcat5.5.6
apache:tomcat5.5.7
apache:tomcat5.5.8
apache:tomcat5.5.9
apache:tomcat5.5.10
apache:tomcat5.5.11
apache:tomcat5.5.12
apache:tomcat5.5.13
apache:tomcat5.5.14
apache:tomcat5.5.15
apache:tomcat5.5.16
apache:tomcat5.5.17
apache:tomcat5.5.18
apache:tomcat5.5.19
apache:tomcat5.5.20
apache:tomcat5.5.21
apache:tomcat5.5.22
apache:tomcat5.5.23
apache:tomcat5.5.24
apache:tomcat5.5.25
apache:tomcat5.5.26
apache:tomcat5.5.27
apache:tomcat6.0
apache:tomcat6.0.0
apache:tomcat6.0.1
apache:tomcat6.0.2
apache:tomcat6.0.3
apache:tomcat6.0.4
apache:tomcat6.0.5
apache:tomcat6.0.6
apache:tomcat6.0.7
apache:tomcat6.0.9
apache:tomcat6.0.10
apache:tomcat6.0.12
apache:tomcat6.0.13
apache:tomcat6.0.14
apache:tomcat6.0.15
apache:tomcat6.0.16
apache:tomcat6.0.17
apache:tomcat6.0.18

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9737-qmgc-hfr9Mavenorg.apache.tomcat:tomcat>=4.1.0 <4.1.404.1.40
GHSA-9737-qmgc-hfr9Mavenorg.apache.tomcat:tomcat>=5.5.0 <5.5.285.5.28
GHSA-9737-qmgc-hfr9Mavenorg.apache.tomcat:tomcat>=6.0.0 <6.0.206.0.20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian5.0tomcat5.55.5.26-5lenny2DSA-2207-1
Red Hatcertificate_system:7.3ant0:1.6.5-1jpp_1rhRHSA-2010:0602
Red Hatcertificate_system:7.3avalon-logkit0:1.2-2jpp_4rhRHSA-2010:0602
Red Hatcertificate_system:7.3axis0:1.2.1-1jpp_3rhRHSA-2010:0602
Red Hatcertificate_system:7.3classpathx-jaf0:1.0-2jpp_6rhRHSA-2010:0602
Red Hatcertificate_system:7.3classpathx-mail0:1.1.1-2jpp_8rhRHSA-2010:0602
Red Hatcertificate_system:7.3geronimo-specs, geronimo-ejb-2.1-api, geronimo-jms-1.1-api and 8 more0:1.0-0.M4.1jpp_10rhRHSA-2010:0602
Red Hatcertificate_system:7.3jakarta-commons-modeler0:2.0-3jpp_2rhRHSA-2010:0602
Red Hatcertificate_system:7.3log4j0:1.2.12-1jpp_1rhRHSA-2010:0602
Red Hatcertificate_system:7.3mx4j1:3.0.1-1jpp_4rhRHSA-2010:0602
Red Hatcertificate_system:7.3pcsc-lite, pcsc-lite-doc, pcsc-lite-libs and 1 more0:1.3.3-3.el4RHSA-2010:0602
Red Hatcertificate_system:7.3rhpki-ca0:7.3.0-20.el4RHSA-2010:0602
Red Hatcertificate_system:7.3rhpki-java-tools0:7.3.0-10.el4RHSA-2010:0602
90 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
JBEAP 4.2.0 for RHEL 4hibernate3-1:3.2.4-1.SP1_CP08.0jpp.ep1.2.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4hibernate3-annotations-0:3.3.1-1.10.GA_CP01.ep1.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4hibernate3-commons-annotations-0:3.0.0-1jpp.ep1.5.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4hibernate3-entitymanager-0:3.3.2-2.4.ep1.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4hibernate3-validator-0:3.0.0-1jpp.ep1.8.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4hsqldb-1:1.8.0.8-2.patch02.1jpp.ep1.2.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4jakarta-slide-webdavclient-0:2.1-9.2.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4jbossas-0:4.2.0-4.GA_CP07.5.ep1.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4jboss-cache-0:1.4.1-6.SP13.1.ep1.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4jboss-remoting-0:2.2.3-2.ep1.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4jboss-seam-0:1.2.1-1.ep1.19.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4jbossts-1:4.2.3-1.SP5_CP05.1jpp.ep1.1.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4jbossweb-0:2.0.0-6.CP11.0jpp.ep1.1.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4jgroups-1:2.4.6-1.ep1.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4rh-eap-docs-0:4.2.0-5.GA_CP07.ep1.1.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 4xerces-j2-0:2.7.1-9jpp.ep1.2.el4Fixed 2009-07-06RHSA-2009:1144
JBEAP 4.2.0 for RHEL 5hibernate3-1:3.2.4-1.SP1_CP08.0jpp.ep1.2.3.el5Fixed 2009-07-06RHSA-2009:1143
JBEAP 4.2.0 for RHEL 5hibernate3-annotations-0:3.3.1-1.10.1GA_CP01.ep1.el5Fixed 2009-07-06RHSA-2009:1143
JBEAP 4.2.0 for RHEL 5hibernate3-commons-annotations-0:3.0.0-1jpp.ep1.5.2.el5Fixed 2009-07-06RHSA-2009:1143
JBEAP 4.2.0 for RHEL 5hibernate3-entitymanager-0:3.3.2-2.4.1.ep1.el5Fixed 2009-07-06RHSA-2009:1143
82 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2008-5515.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON