VDB
Sign up
HIGH7.5

GHSA-q6x7-f33r-3wxx

Incorrect Authorization in Apache Tomcat

Quick fix

GHSA-q6x7-f33r-3wxx — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

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

Details

The ResourceLinkFactory implementation 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 and 6.0.0 to 6.0.45 did not limit web application access to global JNDI resources to those resources explicitly linked to the web application. Therefore, it was possible for a web application to access any global JNDI resource whether an explicit ResourceLink had been configured or not.

Are you affected?

Enter the version of the package you're using.

Affected packages

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
Maven/org.apache.tomcat:tomcat
Introduced in: 8.5.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: 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: 7.0.0Fixed in: 7.0.72
Fix# pom.xml: bump <version>7.0.72</version> for org.apache.tomcat:tomcat

References