VDB
Sign up
HIGH8.1

GHSA-xjgh-84hx-56c5

Unrestricted Upload of File with Dangerous Type Apache Tomcat

Quick fix

GHSA-xjgh-84hx-56c5 — org.apache.tomcat:tomcat-catalina: upgrade to the fixed version with the command below.

# pom.xml: bump <version>9.0.1</version> for org.apache.tomcat:tomcat-catalina

Details

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default servlet to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat-catalina
Introduced in: 9.0.0.M1Fixed in: 9.0.1
Fix# pom.xml: bump <version>9.0.1</version> for org.apache.tomcat:tomcat-catalina
Maven/org.apache.tomcat:tomcat-catalina
Introduced in: 8.5.0Fixed in: 8.5.23
Fix# pom.xml: bump <version>8.5.23</version> for org.apache.tomcat:tomcat-catalina
Maven/org.apache.tomcat:tomcat-catalina
Introduced in: 8.0.0-RC1Fixed in: 8.0.47
Fix# pom.xml: bump <version>8.0.47</version> for org.apache.tomcat:tomcat-catalina
Maven/org.apache.tomcat:tomcat-catalina
Introduced in: 7.0.0Fixed in: 7.0.82
Fix# pom.xml: bump <version>7.0.82</version> for org.apache.tomcat:tomcat-catalina
Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 9.0.0.M1Fixed in: 9.0.1
Fix# pom.xml: bump <version>9.0.1</version> for org.apache.tomcat.embed:tomcat-embed-core
Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 8.5.0Fixed in: 8.5.23
Fix# pom.xml: bump <version>8.5.23</version> for org.apache.tomcat.embed:tomcat-embed-core
Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 8.0.0-RC1Fixed in: 8.0.47
Fix# pom.xml: bump <version>8.0.47</version> for org.apache.tomcat.embed:tomcat-embed-core
Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 7.0.0Fixed in: 7.0.82
Fix# pom.xml: bump <version>7.0.82</version> for org.apache.tomcat.embed:tomcat-embed-core

References