CVE-2017-12617: Apache Tomcat Remote Code Execution Vulnerability
Vulnerability summary
CVE-2017-12617 is a high (CVSS 8.1) vulnerability in Apache Tomcat. It is known to be exploited: CISA lists it, first on 25-03-2022. EPSS estimates a 99.97% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 3 public exploits are recorded.
Listed as exploited by CISA (25-03-2022)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 16 · Related 8Timeline
- 03-10-2017PublishedVulnerability first disclosed.
- 25-03-2022Added to CISA KEVExploitedApache Tomcat Remote Code Execution Vulnerability
- 15-04-2022CISA remediation dueDeadline passedApply updates per vendor instructions.
- 21-10-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 3 versions- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
EPSS trend
Probability
99.97%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 99.97% on 04-10-2026
Known exploited
Compare KEV catalogs- Added
- 25-03-2022
- Federal due date
- 15-04-2022
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
CISA required action
Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2017-12617
Public exploits
3 foundTomcat - Remote Code Execution via JSP Upload Bypass (Metasploit)
Maturity: weaponized
Apache Tomcat < 9.0.1 (Beta) / < 8.5.23 / < 8.0.47 / < 7.0.8 - JSP Upload Bypass / Remote Code Execution (2)
Maturity: poc
Tomcat RCE via JSP Upload Bypass
exploit/multi/http/tomcat_jsp_upload_bypass
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Oracle31 products
- agile_product_lifecycle_management9.3.3 | 9.3.4 | 9.3.5 | 9.3.6
- communications_instant_messaging_server10.0.1
- endeca_information_discovery_integrator3.1.0 | 3.2.0
- enterprise_manager_for_mysql_database12.1.0.4.0
- financial_services_analytical_applications_infrastructure≥ 7.3.3.0.0, ≤ 7.3.5.3.0 | ≥ 8.0.0.0.0, ≤ 8.0.9.0.0
Redhat17 products
- enterprise_linux_desktop6.0 | 7.0
- enterprise_linux_eus7.4 | 7.5 | 7.6 | 7.7
- enterprise_linux_eus_compute_node7.4 | 7.5 | 7.6 | 7.7
- enterprise_linux_for_ibm_z_systems6.0_s390x | 7.0_s390x
- enterprise_linux_for_ibm_z_systems_eus7.4_s390x | 7.5_s390x | 7.6_s390x | 7.7_s390x
Netapp7 products
- active_iq_unified_manager≥ 7.3 (No fix recorded) | ≥ 9.5 (No fix recorded)
- elementna
- oncommand_balancena
- oncommand_insightna
- oncommand_shiftna
Debian2 products
- tomcat7< 7.0.28-4+deb7u16
- debian_linuxEOL7.0
Mageia2 products
- tomcat< 7.0.82-1.mga5
- tomcat< 8.0.47-1.mga6
Ubuntu2 products
- tomcat7< 7.0.52-1ubuntu0.14 | < 7.0.68-1ubuntu0.4+esm3 | All versions (No fix recorded)
- tomcat8< 8.0.32-1ubuntu1.6
Apache1 product
- tomcat≥ 7.0.0, < 7.0.82 | ≥ 8.0, < 8.0.47 | ≥ 8.5.0, < 8.5.23 | ≥ 9.0.0, < 9.0.1
Apache software foundation1 product
- apache tomcat9.0.0.M1 to 9.0.0 | 8.5.0 to 8.5.22 | 8.0.0.RC1 to 8.0.46 | 7.0.0 to 7.0.81
Canonical1 product
- ubuntu_linuxEOL12.04 | 16.04 | 17.10 | 18.04
Org.apache.tomcat1 product
- tomcat-catalina≥ 9.0.0.M1, < 9.0.1 | ≥ 8.5.0, < 8.5.23 | ≥ 8.0.0-RC1, < 8.0.47 | ≥ 7.0.0, < 7.0.82
Org.apache.tomcat.embed1 product
- tomcat-embed-core≥ 9.0.0.M1, < 9.0.1 | ≥ 8.5.0, < 8.5.23 | ≥ 8.0.0-RC1, < 8.0.47 | ≥ 7.0.0, < 7.0.82
11 vendors · 66 products
References
99 links- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.htmlX Refsource CONFIRMPatchThird Party AdvisoryWEB
- www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.htmlX Refsource CONFIRMPatchThird Party AdvisoryWEB
- support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03828en_usX Refsource CONFIRMThird Party AdvisoryWEB
- support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03812en_usX Refsource CONFIRMThird Party AdvisoryWEB
Show all 99 references
- lists.debian.org/debian-lts-announce/2017/11/msg00009.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.htmlX Refsource CONFIRMPatchThird Party AdvisoryWEB
- www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmlX Refsource MISCPatchThird Party AdvisoryWEB
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12617Government ResourceUS Government ResourceWEB
- github.com/apache/tomcatPACKAGE