HIGH 8.1

CVE-2017-12617

Unrestricted Upload of File with Dangerous Type Apache Tomcat

Known exploited: listed in the CISA Known Exploited Vulnerabilities catalog.

Description

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default servlet to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.tomcat » tomcat-catalina
>= 7.0.0, < 7.0.82>= 8.0.0-RC1, < 8.0.47>= 8.5.0, < 8.5.23>= 9.0.0.M1, < 9.0.1
7.0.82, 8.0.47, 8.5.23, 9.0.1
org.apache.tomcat.embed » tomcat-embed-core
>= 7.0.0, < 7.0.82>= 8.0.0-RC1, < 8.0.47>= 8.5.0, < 8.5.23>= 9.0.0.M1, < 9.0.1
7.0.82, 8.0.47, 8.5.23, 9.0.1

Blast radius

2affected artifacts
314affected versions
8,073dependent artifacts (est.)
254,545dependent versions

62% of the dependent artifacts (5,006) still pull an affected version in their latest release.

DepthDependent versions
Direct
8,912
2 hops
6,555
3 hops
78,891
4 hops
92,666
5 hops
57,032
6 hops
10,489

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