Every CVE Search/ Get API key

CVE-2008-2938

Apache Tomcat Directory Traversal vulnerability

4.3 MediumPublic exploitFix available

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.

Exploit likelihood

99.7%Up 19.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.3

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.

Record
CVE-2008-2938
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:P/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2008-2938
Updated
2026-11-02
EUVDEUVD-2022-4516 No score

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.

Record
EUVD-2022-4516
Updated
2026-11-03
GitHub AdvisoriesGHSA-m7xj-ccqc-p4g2 No score

Apache Tomcat Directory Traversal vulnerability

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.

Record
GHSA-m7xj-ccqc-p4g2
Weakness
CWE-22
Updated
2026-11-02
OSVGHSA-m7xj-ccqc-p4g2 No score

Apache Tomcat Directory Traversal vulnerability

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.

Record
GHSA-m7xj-ccqc-p4g2
Weakness
CWE-22
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.tomcat:tomcat
Maven
4.1.0 to 4.1.37
4.1.39
org.apache.tomcat:tomcat
Maven
5.5.0 to 5.5.26
5.5.27
org.apache.tomcat:tomcat
Maven
6.0.0 to 6.0.16
6.0.18
org.apache.tomcat:tomcat
Maven
4.1.0 up to 4.1.39
4.1.39
org.apache.tomcat:tomcat
Maven
5.5.0 up to 5.5.27
5.5.27
org.apache.tomcat:tomcat
Maven
6.0.0 up to 6.0.18
6.0.18
tomcat5
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-admin-webapps
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-common-lib
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-debuginfo
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
Show 45 moreShow less
Affected packages
PackageAffectedFixed
tomcat5-jasper
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-jasper-javadoc
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-jsp-2.0-api-javadoc
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-server-lib
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-servlet-2.4-api-javadoc
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-webapps
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5
Red Hat:enterprise_linux:5::client
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-jsp-2.0-api
Red Hat:enterprise_linux:5::client
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-servlet-2.4-api
Red Hat:enterprise_linux:5::client
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-admin-webapps
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-common-lib
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-jasper
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-jasper-javadoc
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-jsp-2.0-api
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-jsp-2.0-api-javadoc
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-server-lib
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-servlet-2.4-api
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-servlet-2.4-api-javadoc
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5-webapps
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp.7.el5_2.1
0:5.5.23-0jpp.7.el5_2.1
tomcat5
Red Hat:rhel_application_server:2
From an advisory covering 6 CVEs
before 0:5.5.23-0jpp_4rh.9
0:5.5.23-0jpp_4rh.9
tomcat5-admin-webapps
Red Hat:rhel_application_server:2
From an advisory covering 6 CVEs
before 0:5.5.23-0jpp_4rh.9
0:5.5.23-0jpp_4rh.9
tomcat5-common-lib
Red Hat:rhel_application_server:2
From an advisory covering 6 CVEs
before 0:5.5.23-0jpp_4rh.9
0:5.5.23-0jpp_4rh.9
tomcat5-jasper
Red Hat:rhel_application_server:2
From an advisory covering 6 CVEs
before 0:5.5.23-0jpp_4rh.9
0:5.5.23-0jpp_4rh.9
tomcat5-jasper-javadoc
Red Hat:rhel_application_server:2
From an advisory covering 6 CVEs
before 0:5.5.23-0jpp_4rh.9
0:5.5.23-0jpp_4rh.9
tomcat5-jsp-2.0-api
Red Hat:rhel_application_server:2
From an advisory covering 6 CVEs
before 0:5.5.23-0jpp_4rh.9
0:5.5.23-0jpp_4rh.9
tomcat5-jsp-2.0-api-javadoc
Red Hat:rhel_application_server:2
From an advisory covering 6 CVEs
before 0:5.5.23-0jpp_4rh.9
0:5.5.23-0jpp_4rh.9
tomcat5-server-lib
Red Hat:rhel_application_server:2
From an advisory covering 6 CVEs
before 0:5.5.23-0jpp_4rh.9
0:5.5.23-0jpp_4rh.9
tomcat5-servlet-2.4-api
Red Hat:rhel_application_server:2
From an advisory covering 6 CVEs
before 0:5.5.23-0jpp_4rh.9
0:5.5.23-0jpp_4rh.9
tomcat5-servlet-2.4-api-javadoc
Red Hat:rhel_application_server:2
From an advisory covering 6 CVEs
before 0:5.5.23-0jpp_4rh.9
0:5.5.23-0jpp_4rh.9
tomcat5-webapps
Red Hat:rhel_application_server:2
From an advisory covering 6 CVEs
before 0:5.5.23-0jpp_4rh.9
0:5.5.23-0jpp_4rh.9
tomcat5
Red Hat:rhel_developer_suite:3
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp_12rh
0:5.5.23-0jpp_12rh
tomcat5-common-lib
Red Hat:rhel_developer_suite:3
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp_12rh
0:5.5.23-0jpp_12rh
tomcat5-jasper
Red Hat:rhel_developer_suite:3
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp_12rh
0:5.5.23-0jpp_12rh
tomcat5-jsp-2.0-api
Red Hat:rhel_developer_suite:3
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp_12rh
0:5.5.23-0jpp_12rh
tomcat5-server-lib
Red Hat:rhel_developer_suite:3
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp_12rh
0:5.5.23-0jpp_12rh
tomcat5-servlet-2.4-api
Red Hat:rhel_developer_suite:3
From an advisory covering 4 CVEs
before 0:5.5.23-0jpp_12rh
0:5.5.23-0jpp_12rh
jbossweb
Red Hat:jboss_enterprise_application_platform:4.3.0::el4
From an advisory covering 3 CVEs
before 0:2.0.0-5.CP07.0jpp.ep1.1.el4
0:2.0.0-5.CP07.0jpp.ep1.1.el4
jbossweb
Red Hat:jboss_enterprise_application_platform:4.2.0::el4
From an advisory covering 3 CVEs
before 0:2.0.0-5.CP07.0jpp.ep1.1.el4
0:2.0.0-5.CP07.0jpp.ep1.1.el4
jbossweb
Red Hat:jboss_enterprise_application_platform:4.2.0::el5
From an advisory covering 3 CVEs
before 0:2.0.0-5.CP07.0jpp.ep1.1.el5
0:2.0.0-5.CP07.0jpp.ep1.1.el5
jbossweb
Red Hat:jboss_enterprise_application_platform:4.3.0::el5
From an advisory covering 3 CVEs
before 0:2.0.0-5.CP07.0jpp.ep1.1.el5
0:2.0.0-5.CP07.0jpp.ep1.1.el5
tomcat5
Red Hat:network_satellite:5.1::el4
From an advisory covering 5 CVEs
before 0:5.0.30-0jpp_12rh
0:5.0.30-0jpp_12rh
tomcat5
Red Hat:network_satellite:5.0:el4
From an advisory covering 5 CVEs
before 0:5.0.30-0jpp_12rh
0:5.0.30-0jpp_12rh

Public exploits

Links only. Every CVE stores no exploit code.

History

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

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

In short

CVE-2008-2938 is a medium vulnerability (CVSS 4.3) in Apache Tomcat, published August 13, 2008. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 99.7%, the 99th percentile. Fixed in org.apache.tomcat:tomcat 4.1.39.

References

Show 102 moreShow less
MoveEnter Open