Description
When using a VirtualDirContext with Apache Tomcat 7.0.0 to 7.0.80 it was possible to bypass security constraints and/or view the source code of JSPs for resources served by the VirtualDirContext using a specially crafted request.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Tomcat | 7.0.0 to 7.0.80 | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | tomcat7 | 7.0.56-3+really7.0.88-1 | DLA-1400-1 |
| Debian 7 | tomcat7 | 7.0.28-4+deb7u15 | DLA-1108-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | tomcat8 | 8.5.30-1ubuntu1.2 | USN-3665-1 |
| Ubuntu 16.04 LTS | tomcat8 | 8.0.32-1ubuntu1.6 | USN-3665-1 |
| Ubuntu 14.04 LTS | tomcat7 | 7.0.52-1ubuntu0.14 | USN-3665-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | tomcat7 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | tomcat7 | 7.0.68-1ubuntu0.4+esm3 | USN-7282-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat JBoss Web Server 3 | mod_cluster +2 | 1.3.8-2.Final_redhat_2.1.ep7.el6 | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 | tomcat-native | 1.2.8-11.redhat_11.ep7.el6 | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 | tomcat-vault +2 | 1.1.6-1.Final_redhat_1.1.ep7.el6 | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 | tomcat7 +11 | 7.0.70-25.ep7.el6 | RHSA-2018:0466 |
| Red Hat JBoss Web Server 3 | tomcat8 +11 | 8.0.36-29.ep7.el6 | RHSA-2018:0466 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | tomcat | 7.0.82-7.16.1 | SUSE-SU-2017:3059-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | tomcat +9 | 7.0.76-10.amzn2.0.3 | ALAS2-2023-2020 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat-catalina | >= 7.0.0, < 7.0.81 | 7.0.81 | GHSA-8qq4-8jvq-mfw4 |
Advisories 9
- RHSA-2018:0466 Red Hat Security Advisory: Red Hat JBoss Web Server 3.1.0 Service Pack 2 security update Red Hat Security Advisories (RHSA) · Sep 21, 2026
- USN-7282-1 tomcat7 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-3665-1 tomcat7, tomcat8 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-1108-1 tomcat7 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1400-1 tomcat7 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:3059-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-0423 Apache Tomcat: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 20, 2025
- WID-SEC-2024-1238 HPE HP-UX: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 27, 2024
- ALAS2-2023-2020 Important: tomcat security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 11, 2023
References
- 1039393 vdb-entry
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03828en_us
- https://www.synology.com/support/security/Synology_SA_17_54_Tomcat
- RHSA-2018:0465 vendor-advisory
- USN-3665-1 vendor-advisory
- 100897 vdb-entry
- RHSA-2018:0466 vendor-advisory
- https://security.netapp.com/advisory/ntap-20171018-0001/
- [announce] 20170919 [SECURITY] CVE-2017-12616 Apache Tomcat Information Disclosure mailing-list
- [debian-lts-announce] 20180627 [SECURITY] [DLA 1400-1] tomcat7 security update mailing-list
- [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list
- [tomcat-dev] 20190413 svn commit: r1857494 [16/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list
- [tomcat-dev] 20190415 svn commit: r1857582 [17/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-list
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ mailing-list