Skip to content
OpenAdvisories
Medium CVE-2009-2902 EUVD-2022-3250GHSA-8wch-9gcg-v2pr

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

Published Jan 28, 2010 · Updated Aug 7, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 tomcat5.5 5.5.26-5lenny2 DSA-2207-1
ReleasePackageFixed inAdvisory
RHEL 5 tomcat5 +10 5.5.23-0jpp.9.el5_5 RHSA-2010:0580
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Application Server 2 tomcat5 +10 5.5.23-0jpp_4rh.17 RHSA-2010:0582
Red Hat JBoss Web Server 1 glassfish-jsf 1.2_13-2.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 httpd +2 2.2.14-1.2.1.ep5.el5 RHSA-2010:0119
Red Hat JBoss Web Server 1 httpd22 +6 2.2.14-4.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 jakarta-commons-chain 1.2-2.1.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 jakarta-commons-digester 1.8.1-7.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 jakarta-commons-io 1.4-1.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 jakarta-commons-modeler 2.0-3.3.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 jakarta-commons-validator 1.3.1-7.4.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 jakarta-oro 2.0.8-3jpp.ep1.3.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 jboss-javaee +2 5.0.1-2.3.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 mod_jk +2 1.2.28-4.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 mod_ssl 1:2.2.14-1.2.1.ep5.el5 RHSA-2010:0119
Red Hat JBoss Web Server 1 mod_ssl22 1:2.2.14-4.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 struts12 1.2.9-2.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 tomcat-native 1.1.19-2.0.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 tomcat5 +12 5.5.28-7.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 tomcat6 +9 6.0.24-2.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 xerces-j2 2.9.1-2.2_patch_01.ep5.el4 RHSA-2010:0119
Red Hat JBoss Web Server 1 xml-commons-resolver12 1:1.2-1.1.ep5.el4 RHSA-2010:0119
Red Hat Certificate System 7 tomcat5 +5 5.5.23-0jpp_4rh.19 RHSA-2010:0693

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat:tomcat >= 5.5.0, < 5.5.29 5.5.29 GHSA-8wch-9gcg-v2pr
Maven org.apache.tomcat:tomcat >= 6.0.0, < 6.0.24 6.0.24 GHSA-8wch-9gcg-v2pr

Advisories 5

References