ADVISORIES

GitHub Advisory Database

GHSA-jx6h-3fjx-cgv5

Apache Tomcat information exposure vulnerability

Moderate CVE-2018-1305

Details

Security constraints defined by annotations of Servlets in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 were only applied once a Servlet had been loaded. Because security constraints defined in this way apply to the URL pattern and any URLs below that point, it was possible - depending on the order Servlets were loaded - for some security constraints not to be applied. This could have exposed resources to users who were not authorised to access them.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.tomcat.embed:tomcat-embed-core
From 9.0.0M1 before 9.0.5 (fixed in 9.0.5)
Mavenorg.apache.tomcat.embed:tomcat-embed-core
From 8.5.0 before 8.5.28 (fixed in 8.5.28)
Mavenorg.apache.tomcat.embed:tomcat-embed-core
From 7.0.0 before 7.0.85 (fixed in 7.0.85)

References