CVE-2008-2938
Directory traversal vulnerability in 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 allowLinking and UTF-8 are enabled, allows remote attackers to read arbitrary files via encoded directory traversal sequences in the URI, a different vulnerability than CVE-2008-2370. NOTE: versions earlier than 6.0.18 were reported affected, but the vendor advisory lists 6.0.16 as the last affected version.
What to do
Likely to be exploited: EPSS gives a 100% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Maven, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 5 | tomcat5 | Fixed | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat Enterprise Linux 5 | tomcat5-admin-webapps | Fixed | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat Enterprise Linux 5 | tomcat5-common-lib | Fixed | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat Enterprise Linux 5 | tomcat5-jasper | Fixed | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat Enterprise Linux 5 | tomcat5-jasper-javadoc | Fixed | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat Enterprise Linux 5 | tomcat5-jsp-2.0-api | Fixed | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat Enterprise Linux 5 | tomcat5-jsp-2.0-api-javadoc | Fixed | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat Enterprise Linux 5 | tomcat5-server-lib | Fixed | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat Enterprise Linux 5 | tomcat5-servlet-2.4-api | Fixed | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat Enterprise Linux 5 | tomcat5-servlet-2.4-api-javadoc | Fixed | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat Enterprise Linux 5 | tomcat5-webapps | Fixed | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Maven library | org.apache.tomcat:tomcat | Fixed | 5.5.27 | GHSA-m7xj-ccqc-p4g2 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.redhat.com/support/errata/RHSA-2008-0862.html (vendor-advisory)
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00889.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:188 (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2008-0864.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html (vendor-advisory)
References
- http://tomcat.apache.org/security-4.html
- http://secunia.com/advisories/37297
- http://www.redhat.com/support/errata/RHSA-2008-0862.html
- http://www.vupen.com/english/advisories/2008/2823
- http://secunia.com/advisories/31982
- http://www.securityfocus.com/bid/31681
- http://secunia.com/advisories/32120
- http://www.kb.cert.org/vuls/id/343355
- https://exchange.xforce.ibmcloud.com/vulnerabilities/44411
- http://secunia.com/advisories/31865
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00889.html
- http://secunia.com/advisories/31639
- http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10587
- http://www.securitytracker.com/id?1020665
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.