VDB
Sign up
MEDIUM

GHSA-jxcv-v856-j5vg

Apache Tomcat Source Code Disclosure

Quick fix

GHSA-jxcv-v856-j5vg — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

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

Details

The default servlet (`org.apache.catalina.servlets.DefaultServlet`) in Tomcat 4.0.4 and 4.1.10 and earlier allows remote attackers to read source code for server files via a direct request to the servlet.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat
Introduced in: 4.0.0Fixed in: 4.0.5
Fix# pom.xml: bump <version>4.0.5</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 4.1.0Fixed in: 4.1.12
Fix# pom.xml: bump <version>4.1.12</version> for org.apache.tomcat:tomcat

References