GHSA-m8h8-6rvg-f4mg

Apache Tomcat Path Traversal Vulnerability

At a glance

Published
Updated
CVE
CVE-2008-2370

Description

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

PackageVersions
Maven · org.apache.tomcat:tomcatintroduced 4.1.0, fixed 4.1.38
Maven · org.apache.tomcat:tomcatintroduced 5.5.0, fixed 5.5.27
Maven · org.apache.tomcat:tomcatintroduced 6.0.0, fixed 6.0.18

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database