VDB
Sign up
MEDIUM

GHSA-c57p-3v2g-w9rg

Insertion of Sensitive Information into Log File in Apache Tomcat

Quick fix

GHSA-c57p-3v2g-w9rg — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

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

Details

Apache Tomcat 5.5.x before 5.5.34, 6.x before 6.0.33, and 7.x before 7.0.19, when the MemoryUserDatabase is used, creates log entries containing passwords upon encountering errors in JMX user creation, which allows local users to obtain sensitive information by reading a log file.

This issue was fixed in Apache Tomcat 7.0.17 but the release votes for the 7.0.17 and 7.0.18 release candidates did not pass. Therefore, users must download 7.0.19 to obtain a version that includes a fix.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat
Introduced in: 5.5.0Fixed in: 5.5.34
Fix# pom.xml: bump <version>5.5.34</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 6.0.0Fixed in: 6.0.33
Fix# pom.xml: bump <version>6.0.33</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 7.0.0Fixed in: 7.0.19
Fix# pom.xml: bump <version>7.0.19</version> for org.apache.tomcat:tomcat

References