GitHub Advisoryadvisory · Maven

GHSA-m8h8-6rvg-f4mg Apache Tomcat Path Traversal Vulnerability

MEDIUM Published 2022-05-01 Modified 2024-02-09 Official page ↗
Aliases
CVE-2008-2370
Ecosystem
Maven
Packages
org.apache.tomcat:tomcat
Severity
Moderate
Weaknesses
CWE-22
Reviewed
2024-02-09

Affected packages

• Maven org.apache.tomcat:tomcat: >= 4.1.0, < 4.1.38 → fixed in 4.1.38 • Maven org.apache.tomcat:tomcat: >= 5.5.0, < 5.5.27 → fixed in 5.5.27 • Maven org.apache.tomcat:tomcat: >= 6.0.0, < 6.0.18 → fixed in 6.0.18

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.

Related

Alias · CVE (1)

  • CVE-2008-2370 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… vulnerability

Weakness · CWE (1)

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

References