VDB
Sign up
MEDIUM

GHSA-qprx-q2r7-3rx6

Improper Input Validation in Apache Tomcat

Quick fix

GHSA-qprx-q2r7-3rx6 — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

# pom.xml: bump <version>6.0.40</version> for org.apache.tomcat:tomcat

Details

java/org/apache/catalina/servlets/DefaultServlet.java in the default servlet in Apache Tomcat before 6.0.40, 7.x before 7.0.53, and 8.x before 8.0.4 does not properly restrict XSLT stylesheets, which allows remote attackers to bypass security-manager restrictions and 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat
Introduced in: 0Fixed in: 6.0.40
Fix# pom.xml: bump <version>6.0.40</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 7.0.0Fixed in: 7.0.54
Fix# pom.xml: bump <version>7.0.54</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 8.0.0Fixed in: 8.0.6
Fix# pom.xml: bump <version>8.0.6</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat-catalina
Introduced in: 0Fixed in: 6.0.40
Fix# pom.xml: bump <version>6.0.40</version> for org.apache.tomcat:tomcat-catalina
Maven/org.apache.tomcat:tomcat-catalina
Introduced in: 7.0.0Fixed in: 7.0.54
Fix# pom.xml: bump <version>7.0.54</version> for org.apache.tomcat:tomcat-catalina
Maven/org.apache.tomcat:tomcat-catalina
Introduced in: 8.0.0Fixed in: 8.0.6
Fix# pom.xml: bump <version>8.0.6</version> for org.apache.tomcat:tomcat-catalina

References