CRITICAL 9.1

CVE-2017-5648

Exposure of Resource to Wrong Sphere in Apache Tomcat

Description

While investigating bug 60718, it was noticed that some calls to application listeners in Apache Tomcat 9.0.0.M1 to 9.0.0.M17, 8.5.0 to 8.5.11, 8.0.0.RC1 to 8.0.41, and 7.0.0 to 7.0.75 did not use the appropriate facade object. When running an untrusted application under a SecurityManager, it was therefore possible for that untrusted application to retain a reference to the request or response object and thereby access and/or modify information associated with another web application.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.tomcat » tomcat-catalina
>= 7.0.0, < 7.0.76>= 8.0.0, < 8.0.42>= 8.5.0, < 8.5.13>= 9.0.0.M1, < 9.0.0.M18
7.0.76, 8.0.42, 8.5.13, 9.0.0.M18
org.apache.tomcat.embed » tomcat-embed-core
>= 7.0.0, < 7.0.76>= 8.0.0, < 8.0.42>= 8.5.0, < 8.5.13>= 9.0.0.M1, < 9.0.0.M18
7.0.76, 8.0.42, 8.5.13, 9.0.0.M18

Blast radius

2affected artifacts
247affected versions
7,185dependent artifacts (est.)
180,270dependent versions

63% of the dependent artifacts (4,584) still pull an affected version in their latest release.

DepthDependent versions
Direct
7,529
2 hops
5,965
3 hops
52,075
4 hops
64,253
5 hops
41,108
6 hops
9,340

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