MODERATE 5.9

CVE-2018-1304

Apache Tomcat unauthorized access vulnerability

Description

The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled 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 when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorised users to gain access to web application resources that should have been protected. Only security constraints with a URL pattern of the empty string were affected.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.tomcat.embed » tomcat-embed-core
>= 7.0.0, < 7.0.86>= 8.0.0, < 8.0.51>= 8.5.0, < 8.5.28>= 9.0.0, < 9.0.5
7.0.86, 8.0.51, 8.5.28, 9.0.5

Blast radius

1affected artifacts
160affected versions
4,777dependent artifacts (est.)
118,590dependent versions

54% of the dependent artifacts (2,611) still pull an affected version in their latest release.

DepthDependent versions
Direct
7,002
2 hops
5,946
3 hops
46,833
4 hops
28,435
5 hops
26,177
6 hops
4,197

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References