cve.bz

CVE-2008-2938 apache tomcat: Path traversal

no score yetExploitEPSS 99.7%Fix available

apache tomcat: no CVSS score yet. EPSS 99.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 4.1.39, 5.5.27, 6.0.18.

On this page
Directory traversal vulnerability in Apache Tomcat 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16, when allowLinking and UTF-8 are enabled, allows remote attackers to read arbitrary files via encoded directory traversal sequences in the URI, a different vulnerability than CVE-2008-2370. NOTE: versions earlier than 6.0.18 were reported affected, but the vendor advisory lists 6.0.16 as the last affected version.
EPSS
99.7% (unchanged from 99.7% a week ago; 99.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th 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-2938 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-2938?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-2938?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-2938 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:tomcatfrom 4.0.0 through 4.1.37
apache:tomcatfrom 5.0.0 through 5.5.26
apache:tomcatfrom 6.0.0 through 6.0.16

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m7xj-ccqc-p4g2Mavenorg.apache.tomcat:tomcat>=4.1.0 <4.1.394.1.39
GHSA-m7xj-ccqc-p4g2Mavenorg.apache.tomcat:tomcat>=5.5.0 <5.5.275.5.27
GHSA-m7xj-ccqc-p4g2Mavenorg.apache.tomcat:tomcat>=6.0.0 <6.0.186.0.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:5::clienttomcat5, tomcat5-debuginfo, tomcat5-jsp-2.0-api and 1 more0:5.5.23-0jpp.7.el5_2.1RHSA-2008:0648
Red Hatenterprise_linux:5::client_workstationtomcat5, tomcat5-jasper, tomcat5-webapps and 7 more0:5.5.23-0jpp.7.el5_2.1RHSA-2008:0648
Red Hatenterprise_linux:5::servertomcat5, tomcat5-jasper, tomcat5-webapps and 9 more0:5.5.23-0jpp.7.el5_2.1RHSA-2008:0648
Red Hatjboss_enterprise_application_platform:4.2.0::el4, jboss_enterprise_application_platform:4.3.0::el4jbossweb0:2.0.0-5.CP07.0jpp.ep1.1.el4RHSA-2008:0877
Red Hatjboss_enterprise_application_platform:4.2.0::el5, jboss_enterprise_application_platform:4.3.0::el5jbossweb0:2.0.0-5.CP07.0jpp.ep1.1.el5RHSA-2008:0877
Red Hatnetwork_satellite:5.0:el4, network_satellite:5.1::el4tomcat50:5.0.30-0jpp_12rhRHSA-2008:1007
Red Hatrhel_application_server:2tomcat5, tomcat5-jasper, tomcat5-webapps and 8 more0:5.5.23-0jpp_4rh.9RHSA-2008:0862
Red Hatrhel_developer_suite:3tomcat5, tomcat5-jasper, tomcat5-common-lib and 3 more0:5.5.23-0jpp_12rhRHSA-2008:0864

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

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
JBEAP 4.2.0 for RHEL 4jbossweb-0:2.0.0-5.CP07.0jpp.ep1.1.el4Fixed 2008-09-22RHSA-2008:0877
JBEAP 4.2.0 for RHEL 5jbossweb-0:2.0.0-5.CP07.0jpp.ep1.1.el5Fixed 2008-09-22RHSA-2008:0877
Red Hat Developer Suite V.3tomcat5-0:5.5.23-0jpp_12rhFixed 2008-10-02RHSA-2008:0864
Red Hat Enterprise Linux 5tomcat5-0:5.5.23-0jpp.7.el5_2.1Fixed 2008-08-27RHSA-2008:0648
Red Hat JBoss Enterprise Application Platform 4.3 for RHEL 4jbossweb-0:2.0.0-5.CP07.0jpp.ep1.1.el4Fixed 2008-09-22RHSA-2008:0877
Red Hat JBoss Enterprise Application Platform 4.3 for RHEL 5jbossweb-0:2.0.0-5.CP07.0jpp.ep1.1.el5Fixed 2008-09-22RHSA-2008:0877
Red Hat Network Satellite Server v 5.0tomcat5-0:5.0.30-0jpp_12rhFixed 2008-12-08RHSA-2008:1007
Red Hat Network Satellite Server v 5.1tomcat5-0:5.0.30-0jpp_12rhFixed 2008-12-08RHSA-2008:1007
RHAPS Version 2 for RHEL 4tomcat5-0:5.5.23-0jpp_4rh.9Fixed 2008-10-02RHSA-2008:0862

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-2938.

Public exploits

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