ADVISORIES

GitHub Advisory Database

GHSA-m8h8-6rvg-f4mg

Apache Tomcat Path Traversal Vulnerability

Moderate CVE-2008-2370

Details

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 a RequestDispatcher is used, performs path normalization before removing the query string from the URI, which allows remote attackers to conduct directory traversal attacks and read arbitrary files via a .. (dot dot) in a request parameter.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.tomcat:tomcat
From 4.1.0 before 4.1.38 (fixed in 4.1.38)
Mavenorg.apache.tomcat:tomcat
From 5.5.0 before 5.5.27 (fixed in 5.5.27)
Mavenorg.apache.tomcat:tomcat
From 6.0.0 before 6.0.18 (fixed in 6.0.18)

References