VDB
Sign up
MEDIUM4.3

GHSA-5q99-f34m-67gc

Apache Tomcat Open Redirect vulnerability

Quick fix

GHSA-5q99-f34m-67gc — org.apache.tomcat.embed:tomcat-embed-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>8.5.34</version> for org.apache.tomcat.embed:tomcat-embed-core

Details

When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a redirect to a directory (e.g. redirecting to '/foo/' when the user requested '/foo') a specially crafted URL could be used to cause the redirect to be generated to any URI of the attackers choice.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 8.5.0Fixed in: 8.5.34
Fix# pom.xml: bump <version>8.5.34</version> for org.apache.tomcat.embed:tomcat-embed-core
Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 7.0.23Fixed in: 7.0.91
Fix# pom.xml: bump <version>7.0.91</version> for org.apache.tomcat.embed:tomcat-embed-core
Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 9.0.0Fixed in: 9.0.12
Fix# pom.xml: bump <version>9.0.12</version> for org.apache.tomcat.embed:tomcat-embed-core

References