VDB
Sign up
MEDIUM4.8

GHSA-42wg-hm62-jcwg

Apache Tomcat installer for Windows has an untrusted search path vulnerability

Quick fix

GHSA-42wg-hm62-jcwg — org.apache.tomcat.embed:tomcat-embed-core: upgrade to the fixed version with the command below.

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

Details

Untrusted Search Path vulnerability in Apache Tomcat installer for Windows. During installation, the Tomcat installer for Windows used icacls.exe without specifying a full path.

This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.7, from 10.1.0 through 10.1.41, from 9.0.23 through 9.0.105.

Users are recommended to upgrade to version 11.0.8, 10.1.42 or 9.0.106, which fix the issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 11.0.0-M1Fixed in: 11.0.8
Fix# pom.xml: bump <version>11.0.8</version> for org.apache.tomcat.embed:tomcat-embed-core
Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 10.1.0Fixed in: 10.1.42
Fix# pom.xml: bump <version>10.1.42</version> for org.apache.tomcat.embed:tomcat-embed-core
Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 9.0.23Fixed in: 9.0.106
Fix# pom.xml: bump <version>9.0.106</version> for org.apache.tomcat.embed:tomcat-embed-core
Maven/org.apache.tomcat:tomcat
Introduced in: 11.0.0-M1Fixed in: 11.0.8
Fix# pom.xml: bump <version>11.0.8</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 10.1.0Fixed in: 10.1.42
Fix# pom.xml: bump <version>10.1.42</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 9.0.23Fixed in: 9.0.106
Fix# pom.xml: bump <version>9.0.106</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat-catalina
Introduced in: 11.0.0-M1Fixed in: 11.0.8
Fix# pom.xml: bump <version>11.0.8</version> for org.apache.tomcat:tomcat-catalina
Maven/org.apache.tomcat:tomcat-catalina
Introduced in: 10.1.0Fixed in: 10.1.42
Fix# pom.xml: bump <version>10.1.42</version> for org.apache.tomcat:tomcat-catalina
Maven/org.apache.tomcat:tomcat-catalina
Introduced in: 9.0.23Fixed in: 9.0.106
Fix# pom.xml: bump <version>9.0.106</version> for org.apache.tomcat:tomcat-catalina

References