CVE-2014-0119
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.
What to do
Fixed builds are available from Maven, Red Hat, Ubuntu: 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 |
|---|---|---|---|---|
| Ubuntu 16.04 | tomcat6 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | tomcat7 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | tomcat8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | tomcat6 | Fixed | 6.0.39-1ubuntu0.1 | UBUNTU-CVE-2014-0119 |
| Ubuntu 14.04 | tomcat7 | Fixed | 7.0.52-1ubuntu0.3 | UBUNTU-CVE-2014-0119 |
| Red Hat Enterprise Linux 7 | tomcat | Fixed | 0:7.0.42-8.el7_0 | RHSA-2014:1034 |
| Red Hat Enterprise Linux 7 | tomcat-admin-webapps | Fixed | 0:7.0.42-8.el7_0 | RHSA-2014:1034 |
| Red Hat Enterprise Linux 7 | tomcat-docs-webapp | Fixed | 0:7.0.42-8.el7_0 | RHSA-2014:1034 |
| Red Hat Enterprise Linux 7 | tomcat-el-2.2-api | Fixed | 0:7.0.42-8.el7_0 | RHSA-2014:1034 |
| Red Hat Enterprise Linux 7 | tomcat-javadoc | Fixed | 0:7.0.42-8.el7_0 | RHSA-2014:1034 |
| Red Hat Enterprise Linux 7 | tomcat-jsp-2.2-api | Fixed | 0:7.0.42-8.el7_0 | RHSA-2014:1034 |
| Red Hat Enterprise Linux 7 | tomcat-jsvc | Fixed | 0:7.0.42-8.el7_0 | RHSA-2014:1034 |
| Red Hat Enterprise Linux 7 | tomcat-lib | Fixed | 0:7.0.42-8.el7_0 | RHSA-2014:1034 |
| Red Hat Enterprise Linux 7 | tomcat-servlet-3.0-api | Fixed | 0:7.0.42-8.el7_0 | RHSA-2014:1034 |
| Red Hat Enterprise Linux 7 | tomcat-webapps | Fixed | 0:7.0.42-8.el7_0 | RHSA-2014:1034 |
| Red Hat Enterprise Linux 6 | tomcat6 | Fixed | 0:6.0.24-78.el6_5 | RHSA-2014:1038 |
| Red Hat Enterprise Linux 6 | tomcat6-admin-webapps | Fixed | 0:6.0.24-78.el6_5 | RHSA-2014:1038 |
| Red Hat Enterprise Linux 6 | tomcat6-docs-webapp | Fixed | 0:6.0.24-78.el6_5 | RHSA-2014:1038 |
| Red Hat Enterprise Linux 6 | tomcat6-el-2.1-api | Fixed | 0:6.0.24-78.el6_5 | RHSA-2014:1038 |
| Red Hat Enterprise Linux 6 | tomcat6-javadoc | Fixed | 0:6.0.24-78.el6_5 | RHSA-2014:1038 |
| Red Hat Enterprise Linux 6 | tomcat6-jsp-2.1-api | Fixed | 0:6.0.24-78.el6_5 | RHSA-2014:1038 |
| Red Hat Enterprise Linux 6 | tomcat6-lib | Fixed | 0:6.0.24-78.el6_5 | RHSA-2014:1038 |
| Red Hat Enterprise Linux 6 | tomcat6-servlet-2.5-api | Fixed | 0:6.0.24-78.el6_5 | RHSA-2014:1038 |
| Red Hat Enterprise Linux 6 | tomcat6-webapps | Fixed | 0:6.0.24-78.el6_5 | RHSA-2014:1038 |
| Red Hat Enterprise Linux 5 | tomcat5 | Will not fix Will not fix | ||
| Maven library | org.apache.tomcat:tomcat | Fixed | 7.0.54 | GHSA-prc3-7f44-w48j |
| Maven library | org.apache.tomcat:tomcat-catalina | Fixed | 6.0.40 | GHSA-prc3-7f44-w48j |
| Maven library | org.apache.tomcat:tomcat-jasper | Fixed | 7.0.54 | GHSA-prc3-7f44-w48j |
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.ubuntu.com/usn/USN-2654-1 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2015-0765.html (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2015-0675.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:052 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2015-0720.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:084 (vendor-advisory)
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
- http://www.ubuntu.com/usn/USN-2654-1
- http://rhn.redhat.com/errata/RHSA-2015-0765.html
- http://secunia.com/advisories/59732
- http://rhn.redhat.com/errata/RHSA-2015-0675.html
- http://www.vmware.com/security/advisories/VMSA-2014-0012.html
- http://www-01.ibm.com/support/docview.wss?uid=swg21681528
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:052
- http://rhn.redhat.com/errata/RHSA-2015-0720.html
- http://svn.apache.org/viewvc?view=revision&revision=1590028
- http://svn.apache.org/viewvc?view=revision&revision=1589992
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:084
- http://www.debian.org/security/2016/dsa-3530
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.