Skip to content
OpenAdvisories
Medium CVE-2014-0119 EUVD-2022-4817GHSA-prc3-7f44-w48j

Missing XML Validation in Apache Tomcat

Published May 31, 2014 · Updated Oct 14, 2026 · Assigned by redhat

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.

ReleasePackageFixed inAdvisory
Debian 7 tomcat6 6.0.45+dfsg-1~deb7u1 DSA-3530-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS tomcat6 6.0.39-1ubuntu0.1 —
Ubuntu 14.04 LTS tomcat7 7.0.52-1ubuntu0.3 USN-2654-1
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Oracle Linux 7 tomcat +9 7.0.42-8.el7_0 ELSA-2014-1034

Affected packages

EcosystemPackageAffectedFixedRecord
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

References