VDB
Sign up
MEDIUM6.3

GHSA-9hjv-9h75-xmpp

Improper Verification of Source of a Communication Channel in Apache Tomcat

Quick fix

GHSA-9hjv-9h75-xmpp — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

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

Details

The `setGlobalContext` method in `org/apache/naming/factory/ResourceLinkFactory.java` in Apache Tomcat 7.x before 7.0.68, 8.x before 8.0.31, and 9.x before 9.0.0.M3 does not consider whether ResourceLinkFactory.setGlobalContext callers are authorized, which allows remote authenticated users to bypass intended SecurityManager restrictions and read or write to arbitrary application data, or cause a denial of service (application disruption), via a web application that sets a crafted global context.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat
Introduced in: 7.0.0Fixed in: 7.0.68
Fix# pom.xml: bump <version>7.0.68</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 8.0.0Fixed in: 8.0.32
Fix# pom.xml: bump <version>8.0.32</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 9.0.0M1Fixed in: 9.0.0.M3
Fix# pom.xml: bump <version>9.0.0.M3</version> for org.apache.tomcat:tomcat

References