Description
Apache Tomcat before 6.0.40, 7.x before 7.0.54, and 8.x before 8.0.6 does not properly constrain the class loader that accesses the XML parser used with an XSLT stylesheet, which allows remote attackers to (1) read arbitrary files via a crafted web application that provides an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue, or (2) read files associated with different web applications on a single Tomcat instance via a crafted web application.
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 7 | tomcat6 | 6.0.45+dfsg-1~deb7u1 | DSA-3530-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | tomcat6 | 6.0.39-1ubuntu0.1 | — |
| Ubuntu 14.04 LTS | tomcat7 | 7.0.52-1ubuntu0.3 | USN-2654-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | tomcat +9 | 7.0.42-8.el7_0 | RHSA-2014:1034 |
| RHEL 6 | tomcat6 +8 | 6.0.24-78.el6_5 | RHSA-2014:1038 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat JBoss Web Server 2 | antlr-eap6 | 2.7.7-17.redhat_4.1.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | apache-commons-collections-eap6 +1 | 3.2.1-15.redhat_3.1.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | apache-commons-daemon-eap6 | 1:1.0.15-5.redhat_1.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | apache-commons-daemon-jsvc-eap6 | 1:1.0.15-6.redhat_2.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | apache-commons-logging-eap6 +1 | 1.1.1-7.9_redhat_1.ep6.el6 | RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | apache-commons-pool-eap6 +1 | 1.6-7.redhat_6.1.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | dom4j-eap6 | 1.6.1-20.redhat_6.1.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | ecj3 | 1:3.7.2-9.redhat_3.1.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | hibernate4-eap6 +5 | 4.2.14-3.SP1_redhat_1.1.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | httpd +3 | 2.2.26-35.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | javassist-eap6 | 3.18.1-1.GA_redhat_1.1.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | jboss-logging | 3.1.4-1.GA_redhat_1.1.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | jboss-transaction-api_1.1_spec | 1.0.1-12.Final_redhat_2.2.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | mod_cluster +2 | 1.2.9-1.Final_redhat_1.1.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | mod_cluster-native | 1.2.9-3.Final_redhat_2.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | mod_jk +2 | 1.2.40-2.redhat_1.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | mod_rt | 2.4.1-6.GA.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | mod_snmp | 2.4.1-13.GA.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | mod_ssl | 1:2.2.26-35.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | storeconfig-tc6 | 0.0.1-7.Alpha3_redhat_12.3.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | storeconfig-tc7 | 0.0.1-7.Alpha3_redhat_12.5.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | tomcat-native | 1.1.30-2.redhat_1.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | tomcat6 +9 | 6.0.41-5_patch_02.ep6.el6 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss Web Server 2 | tomcat7 +9 | 7.0.54-6_patch_02.ep6.el5 | RHSA-2014:1088, RHSA-2014:1087 |
| Red Hat JBoss EAP 6 | jbossweb | 7.3.2-4.Final_redhat_3.1.ep6.el5 | RHSA-2014:0843 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | tomcat +9 | 7.0.42-8.el7_0 | ELSA-2014-1034 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | < 6.0.40 | 6.0.40 | GHSA-prc3-7f44-w48j |
| Maven | org.apache.tomcat:tomcat | >= 7.0.0, < 7.0.54 | 7.0.54 | GHSA-prc3-7f44-w48j |
| Maven | org.apache.tomcat:tomcat | >= 8.0.0, < 8.0.6 | 8.0.6 | GHSA-prc3-7f44-w48j |
| Maven | org.apache.tomcat:tomcat-catalina | < 6.0.40 | 6.0.40 | GHSA-prc3-7f44-w48j |
| Maven | org.apache.tomcat:tomcat-catalina | >= 7.0.0, < 7.0.54 | 7.0.54 | GHSA-prc3-7f44-w48j |
| Maven | org.apache.tomcat:tomcat-catalina | >= 8.0.0, < 8.0.6 | 8.0.6 | GHSA-prc3-7f44-w48j |
| Maven | org.apache.tomcat:tomcat-jasper | < 6.0.40 | 6.0.40 | GHSA-prc3-7f44-w48j |
| Maven | org.apache.tomcat:tomcat-jasper | >= 7.0.0, < 7.0.54 | 7.0.54 | GHSA-prc3-7f44-w48j |
| Maven | org.apache.tomcat:tomcat-jasper | >= 8.0.0, < 8.0.6 | 8.0.6 | GHSA-prc3-7f44-w48j |
Advisories 8
- RHSA-2014:1088 Red Hat Security Advisory: Red Hat JBoss Web Server 2.1.0 update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2014:1087 Red Hat Security Advisory: Red Hat JBoss Web Server 2.1.0 update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2014:1034 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2014:1038 Red Hat Security Advisory: tomcat6 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2014:0843 Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.2.4 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- DSA-3530-1 tomcat6 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2654-1 tomcat7 vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- ELSA-2014-1034 Low: tomcat security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 7, 2014
References
- http://svn.apache.org/viewvc?view=revision&revision=1590036
- http://advisories.mageia.org/MGASA-2014-0268.html
- http://svn.apache.org/viewvc?view=revision&revision=1589837
- USN-2654-1 vendor-advisory
- RHSA-2015:0765 vendor-advisory
- 59732 third-party-advisory
- RHSA-2015:0675 vendor-advisory
- http://www.vmware.com/security/advisories/VMSA-2014-0012.html
- http://www-01.ibm.com/support/docview.wss?uid=swg21681528
- MDVSA-2015:052 vendor-advisory
- RHSA-2015:0720 vendor-advisory
- http://svn.apache.org/viewvc?view=revision&revision=1590028
- http://svn.apache.org/viewvc?view=revision&revision=1589992
- MDVSA-2015:084 vendor-advisory
- DSA-3530 vendor-advisory
- http://svn.apache.org/viewvc?view=revision&revision=1589983
- HPSBUX03102 vendor-advisory
- http://tomcat.apache.org/security-7.html
- 20141205 NEW: VMSA-2014-0012 - VMware vSphere product updates address security vulnerabilities mailing-list
- MDVSA-2015:053 vendor-advisory
- http://svn.apache.org/viewvc?view=revision&revision=1588199
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- http://svn.apache.org/viewvc?view=revision&revision=1589997
- http://tomcat.apache.org/security-8.html
- http://www-01.ibm.com/support/docview.wss?uid=swg21678231
- http://svn.apache.org/viewvc?view=revision&revision=1589980
- http://svn.apache.org/viewvc?view=revision&revision=1589640
- http://tomcat.apache.org/security-6.html
- https://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04851013
- http://www.oracle.com/technetwork/topics/security/cpujul2014-1972956.html
- 59873 third-party-advisory
- 20140527 [SECURITY] CVE-2014-0119 Apache Tomcat information disclosure mailing-list
- http://svn.apache.org/viewvc?view=revision&revision=1589985
- http://svn.apache.org/viewvc?view=revision&revision=1593815
- 20141205 NEW: VMSA-2014-0012 - VMware vSphere product updates address security vulnerabilities mailing-list
- http://svn.apache.org/viewvc?view=revision&revision=1589990
- HPSBOV03503 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/cpuoct2014-1972960.html
- http://svn.apache.org/viewvc?view=revision&revision=1588193
- 67669 vdb-entry
- 1030298 vdb-entry
- DSA-3552 vendor-advisory
- http://svn.apache.org/viewvc?view=revision&revision=1593821
- 60729 third-party-advisory
- [tomcat-dev] 20190319 svn commit: r1855831 [23/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list
- [tomcat-dev] 20190325 svn commit: r1856174 [21/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list
- [tomcat-dev] 20190413 svn commit: r1857494 [15/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list
- [tomcat-dev] 20190415 svn commit: r1857582 [16/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-list
- [tomcat-dev] 20200203 svn commit: r1873527 [23/30] - /tomcat/site/trunk/docs/ mailing-list
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ mailing-list
- [tomcat-dev] 20200213 svn commit: r1873980 [26/34] - /tomcat/site/trunk/docs/ mailing-list