Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
CISA KEV·Added 2022-03-25 — agencies required to remediate by 2022-04-15
Maven

CVE-2017-12617

HIGH

Unrestricted Upload of File with Dangerous Type Apache Tomcat

Also known asGHSA-xjgh-84hx-56c5
Published
Oct 4, 2017
Updated
Apr 16, 2026
Affected
8 pkgs
Patched
8 / 8
Exploits
14 known

EPSS Exploitation Probability

via FIRST.org ↗
94.4%probability of exploitation in next 30 days
Very High Risk100th percentile0.00%
93.8%94.2%94.5%94.9%94.4%94.4%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

8 pkgs affected
org.apache.tomcat:tomcat-catalinaorg.apache.tomcat:tomcat-catalinaorg.apache.tomcat:tomcat-catalinaorg.apache.tomcat:tomcat-catalinaorg.apache.tomcat.embed:tomcat-embed-coreorg.apache.tomcat.embed:tomcat-embed-coreorg.apache.tomcat.embed:tomcat-embed-coreorg.apache.tomcat.embed:tomcat-embed-core

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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 Packages

8 total 8 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.apache.tomcat:tomcat-catalina9.0.0.M1&&< 9.0.19.0.1
Mavenorg.apache.tomcat:tomcat-catalina8.5.0&&< 8.5.238.5.23
Mavenorg.apache.tomcat:tomcat-catalina8.0.0-RC1&&< 8.0.478.0.47
Mavenorg.apache.tomcat:tomcat-catalina7.0.0&&< 7.0.827.0.82
Mavenorg.apache.tomcat.embed:tomcat-embed-core9.0.0.M1&&< 9.0.19.0.1
Mavenorg.apache.tomcat.embed:tomcat-embed-core8.5.0&&< 8.5.238.5.23
Exploits & PoCs
14

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-42966webappsjsp✓ Verified

Apache Tomcat < 9.0.1 (Beta) / < 8.5.23 / < 8.0.47 / < 7.0.8 - JSP Upload Bypass / Remote Code Execution (2)

by intx0x80 · Oct 9, 2017

EDB-43008remotejava✓ Verified

Tomcat - Remote Code Execution via JSP Upload Bypass (Metasploit)

by Metasploit · Oct 17, 2017

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2017-12617 in your stack?

O3 detects CVE-2017-12617 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.