GitHub Advisoryadvisory · Maven

GHSA-prc3-7f44-w48j Missing XML Validation in Apache Tomcat

MEDIUM Published 2022-05-14 Modified 2025-04-14 Official page ↗
Aliases
CVE-2014-0119
Ecosystem
Maven
Packages
org.apache.tomcat:tomcat, org.apache.tomcat:tomcat-catalina, org.apache.tomcat:tomcat-jasper
Severity
Moderate
Weaknesses
CWE-112
Reviewed
2022-07-07

Affected packages

• Maven org.apache.tomcat:tomcat: < 6.0.40 → fixed in 6.0.40 • Maven org.apache.tomcat:tomcat: >= 7.0.0, < 7.0.54 → fixed in 7.0.54 • Maven org.apache.tomcat:tomcat: >= 8.0.0, < 8.0.6 → fixed in 8.0.6 • Maven org.apache.tomcat:tomcat-catalina: < 6.0.40 → fixed in 6.0.40 • Maven org.apache.tomcat:tomcat-catalina: >= 7.0.0, < 7.0.54 → fixed in 7.0.54 • Maven org.apache.tomcat:tomcat-catalina: >= 8.0.0, < 8.0.6 → fixed in 8.0.6 • Maven org.apache.tomcat:tomcat-jasper: < 6.0.40 → fixed in 6.0.40 • Maven org.apache.tomcat:tomcat-jasper: >= 7.0.0, < 7.0.54 → fixed in 7.0.54 • Maven org.apache.tomcat:tomcat-jasper: >= 8.0.0, < 8.0.6 → fixed in 8.0.6

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.

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (1)

  • CWE-112 Missing XML Validation weakness

References