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…
Check your servers for CVE-2008-2938
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2008-2938 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 99.7%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.9% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2008-2938 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2008-2938RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2008-2938Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2008-2938
trivy image --scanners vuln IMAGE | grep CVE-2008-2938
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- http://tomcat.apache.org/security-4.html tomcat.apache.org
- 37297 secunia.com · third party advisory
- RHSA-2008:0862 redhat.com · vendor advisory
- 31982 secunia.com · third party advisory
- 32120 secunia.com · third party advisory
- VU#343355 kb.cert.org · third party advisory
- 31865 secunia.com · third party advisory
- FEDORA-2008-8130 redhat.com · vendor advisory
- 31639 secunia.com · third party advisory
- SUSE-SR:2008:018 lists.opensuse.org · vendor advisory
- MDVSA-2008:188 mandriva.com · vendor advisory
- http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm support.avaya.com
15 more
- RHSA-2008:0864 redhat.com · vendor advisory
- SUSE-SR:2009:004 lists.opensuse.org · vendor advisory
- http://tomcat.apache.org/security-6.html tomcat.apache.org
- 32222 secunia.com · third party advisory
- 31891 secunia.com · third party advisory
- 33797 secunia.com · third party advisory
- 4148 securityreason.com · third party advisory
- FEDORA-2008-7977 redhat.com · vendor advisory
- FEDORA-2008-8113 redhat.com · vendor advisory
- http://tomcat.apache.org/security-5.html tomcat.apache.org
- HPSBUX02401 marc.info · vendor advisory
- APPLE-SA-2008-10-09 lists.apple.com · vendor advisory
- http://support.apple.com/kb/HT3216 support.apple.com
- 32266 secunia.com · third party advisory
- RHSA-2008:0648 redhat.com · vendor advisory
Exploits and proof of concept
- 6229 exploit-db.com · exploit
Other references
- ADV-2008-2823 vupen.com · vdb entry
- 31681 securityfocus.com · vdb entry
- tomcat-allowlinking-utf8-directory-traversal(44411) exchange.xforce.ibmcloud.com · vdb entry
- oval:org.mitre.oval:def:10587 oval.cisecurity.org · vdb entry, signature
- 1020665 securitytracker.com · vdb entry
- ADV-2009-0320 vupen.com · vdb entry
- ADV-2008-2343 vupen.com · vdb entry
- 30633 securityfocus.com · vdb entry
- 20091107 ToutVirtual VirtualIQ Multiple Vulnerabilities securityfocus.com · mailing list
- 20080811 Apache Tomcat <= 6.0.18 UTF8 Directory Traversal Vulnerability securityfocus.com · mailing list
- ADV-2008-2780 vupen.com · vdb entry
- http://www.securenetwork.it/ricerca/advisory/download/SN-2009-02.txt securenetwork.it
- [tomcat-dev] 20190319 svn commit: r1855831 [21/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ lists.apache.org · mailing list
- [tomcat-dev] 20190325 svn commit: r1856174 [19/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ lists.apache.org · mailing list
- [tomcat-dev] 20200213 svn commit: r1873980 [24/34] - /tomcat/site/trunk/docs/ lists.apache.org · mailing list
Source: the record CVE-2008-2938 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse