VDB
Sign up
MEDIUM

GHSA-8wch-9gcg-v2pr

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Tomcat

Quick fix

GHSA-8wch-9gcg-v2pr — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

# pom.xml: bump <version>5.5.29</version> for org.apache.tomcat:tomcat

Details

Directory traversal vulnerability in Apache Tomcat 5.5.0 through 5.5.28 and 6.0.0 through 6.0.20 allows remote attackers to delete work-directory files via directory traversal sequences in a WAR filename, as demonstrated by the ...war filename.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat
Introduced in: 5.5.0Fixed in: 5.5.29
Fix# pom.xml: bump <version>5.5.29</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 6.0.0Fixed in: 6.0.24
Fix# pom.xml: bump <version>6.0.24</version> for org.apache.tomcat:tomcat

References