Skip to content
Emerging threatsMedium

CVE-2008-2938Tomcat Path Traversal

Apache Tomcat Directory Traversal vulnerability

Published Aug 13, 2008 · Updated Aug 7, 2024 · Also known as GHSA-m7xj-ccqc-p4g2

Key Facts

Patch immediately
  • CVE-2008-2938 is a medium-severity vulnerability (CVSS 4.3 v2) affecting Tomcat (Apache), org.apache.tomcat:tomcat (maven), tomcat5-admin-webapps (oracle) and 11 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 100% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Tomcat 4.1.37, jbossweb 0:2.0.0-5.CP07.0jpp.ep1.1.el4, jbossweb 0:2.0.0-5.CP07.0jpp.ep1.1.el5.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v2

4.3

AV:N/AC:M/Au:N/C:P/I:N/A:N

EPSS (30-day exploit likelihood)

100%

Higher than 99.9% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

55/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

2

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Advisories And Exploit References

Description

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.

Affected Products

17 affected entries in total
ProductAffected versionsFixed in
TomcatApacheSee advisory4.1.37
org.apache.tomcat:tomcatmaven>= 4.1.06.0.18
tomcat5-admin-webappsoracleSee advisory5.5.23-0jpp.7.el5_2.1
tomcat5-common-liboracleSee advisory5.5.23-0jpp.7.el5_2.1
tomcat5oracleSee advisory5.5.23-0jpp.7.el5_2.1
9 more affected products in the full CVE brief

Patched Releases

Tomcat

4.1.37

jbossweb

0:2.0.0-5.CP07.0jpp.ep1.1.el4, 0:2.0.0-5.CP07.0jpp.ep1.1.el5

org.apache.tomcat:tomcat

4.1.39, 5.5.27, 6.0.18

tomcat5

0:5.0.30-0jpp_12rh, 0:5.5.23-0jpp.7.el5_2.1, 5.5.23-0jpp.7.el5_2.1

tomcat5-admin-webapps

5.5.23-0jpp.7.el5_2.1

tomcat5-common-lib

5.5.23-0jpp.7.el5_2.1

tomcat5-jasper

5.5.23-0jpp.7.el5_2.1

tomcat5-jasper-javadoc

5.5.23-0jpp.7.el5_2.1

tomcat5-jsp-2.0-api

5.5.23-0jpp.7.el5_2.1

tomcat5-jsp-2.0-api-javadoc

5.5.23-0jpp.7.el5_2.1

tomcat5-server-lib

5.5.23-0jpp.7.el5_2.1

tomcat5-servlet-2.4-api

5.5.23-0jpp.7.el5_2.1

tomcat5-servlet-2.4-api-javadoc

5.5.23-0jpp.7.el5_2.1

tomcat5-webapps

5.5.23-0jpp.7.el5_2.1

Timeline

  1. Publicly disclosed

    Aug 13, 2008

  2. Last updated

    Aug 7, 2024

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2008-2938 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 Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.