VDB
Sign up
MEDIUM5.3

GHSA-2rvf-329f-p99g

System Property Disclosure in Apache Tomcat

Quick fix

GHSA-2rvf-329f-p99g — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

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

Details

When a SecurityManager is configured, a web application's ability to read system properties should be controlled by the SecurityManager. In Apache Tomcat 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36, 7.0.0 to 7.0.70, 6.0.0 to 6.0.45 the system property replacement feature for configuration files could be used by a malicious web application to bypass the SecurityManager and read system properties that should not be visible.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat
Introduced in: 6.0.0Fixed in: 6.0.47
Fix# pom.xml: bump <version>6.0.47</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 7.0.0Fixed in: 7.0.72
Fix# pom.xml: bump <version>7.0.72</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 8.0.0Fixed in: 8.0.37
Fix# pom.xml: bump <version>8.0.37</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 8.1.0Fixed in: 8.5.5
Fix# pom.xml: bump <version>8.5.5</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 9.0.0.M1Fixed in: 9.0.0.M10
Fix# pom.xml: bump <version>9.0.0.M10</version> for org.apache.tomcat:tomcat

References