CVE-2008-2938: Path Traversal

Published Aug 13, 2008
·
Updated

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 Software

6 affected componentsFixes available
maven/org.apache.tomcat:tomcat>=6.0.0<=6.0.16
6.0.18
maven/org.apache.tomcat:tomcat>=5.5.0<=5.5.26
5.5.27
maven/org.apache.tomcat:tomcat>=4.1.0<=4.1.37
4.1.39
Apache Tomcat>=4.0.0<=4.1.37
Apache Tomcat>=5.0.0<=5.5.26
Apache Tomcat>=6.0.0<=6.0.16

Event History

Aug 13, 2008
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
May 1, 2022
Advisory Published
via GitHub·11:55 PM

Frequently Asked Questions

1

What is the severity of CVE-2008-2938?

CVE-2008-2938 is classified as a critical severity vulnerability due to its potential to allow unauthorized access to sensitive files.

2

How do I fix CVE-2008-2938?

To mitigate CVE-2008-2938, upgrade your Apache Tomcat installation to version 6.0.18, 5.5.27, or 4.1.39.

3

What affected software is associated with CVE-2008-2938?

CVE-2008-2938 affects Apache Tomcat versions 4.1.0 to 4.1.37, 5.5.0 to 5.5.26, and 6.0.0 to 6.0.16.

4

What type of vulnerability is CVE-2008-2938?

CVE-2008-2938 is a directory traversal vulnerability that enables attackers to read arbitrary files on the server.

5

Can I prevent CVE-2008-2938 if I disable allowLinking and UTF-8?

Disabling allowLinking and UTF-8 may reduce the risk, but upgrading to a secure version is the recommended solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203