CVE-2009-2902 json
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Tomcat
published 2010-01-28 16 y ago modified 2026-06-16 4 mo ago also GHSA-8wch-9gcg-v2pr , EUVD-2022-3250
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.7%
- EPSS 10.7% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.tomcat:tomcat 5.5.29, 6.0.24
- tomcat5 certificate system 7.3 5.5.23-0jpp_4rh.19
- tomcat5-jasper certificate system 7.3 5.5.23-0jpp_4rh.19
- tomcat5-common-lib certificate system 7.3 5.5.23-0jpp_4rh.19
- tomcat5-server-lib certificate system 7.3 5.5.23-0jpp_4rh.19
- tomcat5-jsp-2.0-api certificate system 7.3 5.5.23-0jpp_4rh.19
- tomcat5-servlet-2.4-api certificate system 7.3 5.5.23-0jpp_4rh.19
- tomcat5 RHEL 2 APPLICATION_SERVER 5.5.23-0jpp_4rh.17
- tomcat5-jasper RHEL 2 APPLICATION_SERVER 5.5.23-0jpp_4rh.17
red hat advisories RHSA-2010:0693RHSA-2010:0582RHSA-2010:0580RHSA-2010:0119
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-2902 updated cvss 4.3
tomcat: unexpected file deletion in work directory
-
Red Hat Application Server v2 4AS tomcat5 5.5.23-0jpp_4rh.17, tomcat5-jasper 5.5.23-0jpp_4rh.17, tomcat5-webapps 5.5.23-0jpp_4rh.17, tomcat5-common-lib 5.5.23-0jpp_4rh.17, tomcat5-server-lib 5.5.23-0jpp_4rh.17, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.17, +5 more Red Hat Application Server v2 4ES tomcat5 5.5.23-0jpp_4rh.17, tomcat5-jasper 5.5.23-0jpp_4rh.17, tomcat5-webapps 5.5.23-0jpp_4rh.17, tomcat5-common-lib 5.5.23-0jpp_4rh.17, tomcat5-server-lib 5.5.23-0jpp_4rh.17, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.17, +5 more Red Hat Application Server v2 4WS tomcat5 5.5.23-0jpp_4rh.17, tomcat5-jasper 5.5.23-0jpp_4rh.17, tomcat5-webapps 5.5.23-0jpp_4rh.17, tomcat5-common-lib 5.5.23-0jpp_4rh.17, tomcat5-server-lib 5.5.23-0jpp_4rh.17, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.17, +5 morefixed: vendor fix RHSA-2010:0582
-
Red Hat Certificate System 7.3 for 4AS tomcat5 5.5.23-0jpp_4rh.19, tomcat5-jasper 5.5.23-0jpp_4rh.19, tomcat5-common-lib 5.5.23-0jpp_4rh.19, tomcat5-server-lib 5.5.23-0jpp_4rh.19, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.19, tomcat5-servlet-2.4-api 5.5.23-0jpp_4rh.19 Red Hat Certificate System 7.3 for 4ES tomcat5 5.5.23-0jpp_4rh.19, tomcat5-jasper 5.5.23-0jpp_4rh.19, tomcat5-common-lib 5.5.23-0jpp_4rh.19, tomcat5-server-lib 5.5.23-0jpp_4rh.19, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.19, tomcat5-servlet-2.4-api 5.5.23-0jpp_4rh.19fixed: vendor fix RHSA-2010:0693
-
Red Hat Enterprise Linux (v. 5 server) tomcat5 5.5.23-0jpp.9.el5_5, tomcat5-jasper 5.5.23-0jpp.9.el5_5, tomcat5-webapps 5.5.23-0jpp.9.el5_5, tomcat5-common-lib 5.5.23-0jpp.9.el5_5, tomcat5-server-lib 5.5.23-0jpp.9.el5_5, tomcat5-jsp-2.0-api 5.5.23-0jpp.9.el5_5, +5 more Red Hat Enterprise Linux Desktop (v. 5 client) tomcat5 5.5.23-0jpp.9.el5_5, tomcat5-jasper 5.5.23-0jpp.9.el5_5, tomcat5-webapps 5.5.23-0jpp.9.el5_5, tomcat5-common-lib 5.5.23-0jpp.9.el5_5, tomcat5-server-lib 5.5.23-0jpp.9.el5_5, tomcat5-jsp-2.0-api 5.5.23-0jpp.9.el5_5, +5 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) tomcat5 5.5.23-0jpp.9.el5_5, tomcat5-jasper 5.5.23-0jpp.9.el5_5, tomcat5-webapps 5.5.23-0jpp.9.el5_5, tomcat5-common-lib 5.5.23-0jpp.9.el5_5, tomcat5-server-lib 5.5.23-0jpp.9.el5_5, tomcat5-jsp-2.0-api 5.5.23-0jpp.9.el5_5, +5 morefixed: vendor fix RHSA-2010:0580
-
Red Hat JBoss Enterprise Web Server 1 for RHEL 5 Server struts12 1.2.9-2.ep5.el5, mod_jk 1.2.28-4.1.ep5.el5, httpd 2.2.14-1.2.1.ep5.el5, tomcat5 5.5.28-7.1.ep5.el5, tomcat6 6.0.24-2.1.ep5.el5, mod_ssl 2.2.14-1.2.1.ep5.el5, +29 more Red Hat JBoss Web Server 1.0 for RHEL 4 AS mod_jk 1.2.28-4.ep5.el4, httpd22 2.2.14-4.ep5.el4, struts12 1.2.9-2.ep5.el4, tomcat5 5.5.28-7.ep5.el4, tomcat6 6.0.24-2.ep5.el4, mod_ssl22 2.2.14-4.ep5.el4, +39 more Red Hat JBoss Web Server 1.0 for RHEL 4 ES mod_jk 1.2.28-4.ep5.el4, httpd22 2.2.14-4.ep5.el4, struts12 1.2.9-2.ep5.el4, tomcat5 5.5.28-7.ep5.el4, tomcat6 6.0.24-2.ep5.el4, mod_ssl22 2.2.14-4.ep5.el4, +39 morefixed: vendor fix RHSA-2010:0119
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
10.74% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat | >=5.5.0, <5.5.29 >=6.0.0, <6.0.24 |
5.5.29 6.0.24 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/apache/tomcat/commit/3e1010b1a2f648581fac3d68afbf18f2979f6bf6
web
-
github.com
/apache/tomcat55/commit/0299cb724ea71f304d54adfcdb950f59b01fb421
web
-
h20000.www2.hp.com
/bizsupport/TechSupport/Document.jsp?objectID=c02241113
vendor-advisory
-
marc.info
/?l=bugtraq&m=127420533226623&w=2
vendor-advisory, web
-
debian.org
/security/2011/dsa-2207
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2012-12/msg00089.html
vendor-advisory, web
-
marc.info
/?l=bugtraq&m=136485229118404&w=2
vendor-advisory, web
-
mandriva.com
/security/advisories?name=MDVSA-2010:177
vendor-advisory
-
lists.apple.com
/archives/security-announce/2010//Mar/msg00001.html
vendor-advisory, web
-
marc.info
/?l=bugtraq&m=133469267822771&w=2
vendor-advisory, web
-
redhat.com
/support/errata/RHSA-2010-0580.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2010:176
vendor-advisory
-
ubuntu.com
/usn/usn-899-1
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2010-04/msg00001.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-updates/2013-01/msg00037.html
vendor-advisory, web
-
redhat.com
/support/errata/RHSA-2010-0119.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2010-0582.html
vendor-advisory
-
marc.info
/?l=bugtraq&m=139344343412337&w=2
vendor-advisory, web
-
lists.opensuse.org
/opensuse-updates/2012-12/msg00090.html
vendor-advisory, web
-
secunia.com
/advisories/38316
third-party-advisory, vendor-advisory
-
securitytracker.com
/id?1023504
vdb-entry
-
svn.apache.org
/viewvc?rev=892815&view=rev
web
-
secunia.com
/advisories/39317
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19431
vdb-entry, signature
-
securityfocus.com
/archive/1/509150/100/0/threaded
mailing-list
-
secunia.com
/advisories/40330
third-party-advisory
-
secunia.com
/advisories/43310
third-party-advisory
-
vupen.com
/english/advisories/2010/1559
vdb-entry
-
vupen.com
/english/advisories/2010/1986
vdb-entry
-
secunia.com
/advisories/40813
third-party-advisory
-
secunia.com
/advisories/38541
third-party-advisory
- tomcat.apache.org /security-6.html
-
secunia.com
/advisories/57126
third-party-advisory
- vmware.com /support/vsphere4/doc/vsp_vc41_u1_rel_notes.html
- support.apple.com /kb/HT4077
-
secunia.com
/advisories/38687
third-party-advisory
-
secunia.com
/advisories/38346
third-party-advisory
- tomcat.apache.org /security-5.html
- vmware.com /security/advisories/VMSA-2011-0003.html
-
securityfocus.com
/bid/37945
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7092
vdb-entry, signature
-
securityfocus.com
/archive/1/516397/100/0/threaded
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2009-2902
advisory
-
web.archive.org
/web/20150308000602/http://www.securityfocus.com/archive/1/509150/100/0/threaded
web
-
web.archive.org
/web/20140515000000*/http://secunia.com/advisories/57126
web
-
web.archive.org
/web/20121211195847/http://www.securityfocus.com/bid/37945
web
-
web.archive.org
/web/20121211115829/http://securitytracker.com/id?1023504
web
-
web.archive.org
/web/20111119150528/http://www.securityfocus.com/archive/1/516397/100/0/threaded
web
-
web.archive.org
/web/20110601000000*/http://secunia.com/advisories/40330
web
-
web.archive.org
/web/20110529135656/http://secunia.com/advisories/38541
web
-
web.archive.org
/web/20110213053623/https://secunia.com/advisories/43310
web
-
web.archive.org
/web/20100601000000*/http://secunia.com/advisories/40813
web
-
web.archive.org
/web/20100412065745/http://secunia.com/advisories/39317
web
-
web.archive.org
/web/20100329100145/http://secunia.com/advisories/38687
web
-
web.archive.org
/web/20100127190258/http://secunia.com/advisories/38316
web
-
web.archive.org
/web/20100127015355/http://secunia.com/advisories/38346
web
-
support.hpe.com
/hpesc/public/docDisplay?docId=c02241113
web
-
support.apple.com
/kb/HT4077
web
-
oval.cisecurity.org
/repository/search/definition/oval:org.mitre.oval:def:7092
web
-
oval.cisecurity.org
/repository/search/definition/oval:org.mitre.oval:def:19431
web
Sources
- CVE List CVE-2009-2902
- GitHub Advisory GHSA-8wch-9gcg-v2pr
- NVD CVE-2009-2902
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.