CVE-2017-12617Apache Tomcat
Remote Code Execution in Apache Tomcat via JSP File Upload
High 8.1 KEV No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 8.1
- EPSS
- 100.0% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Mar 25, 2022
- CISA deadline
- Apr 15, 2022
- Ransomware use
- Unknown
- Published
- Oct 4, 2017
- Updated
- Aug 25, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-434
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Apache Tomcat versions 7.0.0 to 7.0.81, 8.0.0 to 8.0.46, 8.5.0 to 8.5.22, and 9.0.0 are vulnerable when HTTP PUT is enabled. An unauthenticated attacker can upload a malicious JSP file via a specially crafted request, which is then executed on the server. CISA confirmed this vulnerability as actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
When running Apache Tomcat, it is 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.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 7.0.82, 8.0.47, 8.5.23, 9.0.1
Update Tomcat to version 7.0.82, 8.0.47, 8.5.23, or 9.0.1 as appropriate. If you cannot update, disable HTTP PUT by setting the readonly parameter of the Default servlet to true.
- Apply the vendor's security update for Tomcat.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was April 15, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 9.0.0.M1 < 9.0.1 |
9.0.1 |
— |
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 8.5.0 < 8.5.23 |
8.5.23 |
— |
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 8.0.0-RC1 < 8.0.47 |
8.0.47 |
— |
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 7.0.0 < 7.0.82 |
7.0.82 |
— |
| Maven | org.apache.tomcat:tomcat-catalina |
≥ 9.0.0.M1 < 9.0.1 |
9.0.1 |
— |
| Maven | org.apache.tomcat:tomcat-catalina |
≥ 8.5.0 < 8.5.23 |
8.5.23 |
— |
| Maven | org.apache.tomcat:tomcat-catalina |
≥ 8.0.0-RC1 < 8.0.47 |
8.0.47 |
— |
| Maven | org.apache.tomcat:tomcat-catalina |
≥ 7.0.0 < 7.0.82 |
7.0.82 |
— |
Per OSV / GitHub Advisories (GHSA-xjgh-84hx-56c5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | ≥ 7.0.0 < 7.0.82 |
| apache | tomcat | ≥ 8.0 < 8.0.47 |
| apache | tomcat | ≥ 8.5.0 < 8.5.23 |
| apache | tomcat | ≥ 9.0.0 < 9.0.1 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 17.10 |
| canonical | ubuntu_linux | 18.04 |
| oracle | agile_product_lifecycle_management | 9.3.3 |
| oracle | agile_product_lifecycle_management | 9.3.4 |
| oracle | agile_product_lifecycle_management | 9.3.5 |
| oracle | agile_product_lifecycle_management | 9.3.6 |
| oracle | communications_instant_messaging_server | 10.0.1 |
| oracle | endeca_information_discovery_integrator | 3.1.0 |
| oracle | endeca_information_discovery_integrator | 3.2.0 |
| oracle | enterprise_manager_for_mysql_database | 12.1.0.4.0 |
| oracle | financial_services_analytical_applications_infrastructure | ≥ 7.3.3.0.0 ≤ 7.3.5.3.0 |
| oracle | financial_services_analytical_applications_infrastructure | ≥ 8.0.0.0.0 ≤ 8.0.9.0.0 |
| oracle | fmw_platform | 12.2.1.2.0 |
| oracle | fmw_platform | 12.2.1.3.0 |
| oracle | health_sciences_empirica_inspections | 1.0.1.1 |
| oracle | hospitality_guest_access | 4.2.0 |
| oracle | hospitality_guest_access | 4.2.1 |
| oracle | instantis_enterprisetrack | 17.1 |
| oracle | instantis_enterprisetrack | 17.2 |
| oracle | management_pack | 11.2.1.0.13 |
| oracle | micros_lucas | 2.9.5 |
| oracle | micros_retail_xbri_loss_prevention | 10.0.1 |
| oracle | micros_retail_xbri_loss_prevention | 10.5.0 |
| oracle | micros_retail_xbri_loss_prevention | 10.6.0 |
| oracle | micros_retail_xbri_loss_prevention | 10.7.0 |
| oracle | micros_retail_xbri_loss_prevention | 10.8.0 |
| oracle | micros_retail_xbri_loss_prevention | 10.8.1 |
| oracle | mysql_enterprise_monitor | ≤ 3.3.6.3293 |
| oracle | mysql_enterprise_monitor | ≥ 3.4.0 ≤ 3.4.4.4226 |
| oracle | mysql_enterprise_monitor | ≥ 4.0.0 ≤ 4.0.0.5135 |
| oracle | retail_advanced_inventory_planning | 13.2 |
| oracle | retail_advanced_inventory_planning | 13.4 |
| oracle | retail_advanced_inventory_planning | 14.1 |
| oracle | retail_advanced_inventory_planning | 15.0 |
| oracle | retail_back_office | 14.0.4 |
| oracle | retail_back_office | 14.1.3 |
| oracle | retail_central_office | 14.0.4 |
| oracle | retail_central_office | 14.1.3 |
| oracle | retail_convenience_and_fuel_pos_software | 2.1.132 |
| oracle | retail_eftlink | 1.1.124 |
| oracle | retail_eftlink | 15.0.1 |
| oracle | retail_eftlink | 16.0.2 |
| oracle | retail_insights | 14.0 |
| oracle | retail_insights | 14.1 |
| oracle | retail_insights | 15.0 |
| oracle | retail_insights | 16.0 |
| oracle | retail_invoice_matching | 12.0 |
| oracle | retail_invoice_matching | 13.0 |
| oracle | retail_invoice_matching | 13.1 |
| oracle | retail_invoice_matching | 13.2 |
| oracle | retail_invoice_matching | 14.0 |
| oracle | retail_invoice_matching | 14.1 |
| oracle | retail_invoice_matching | 15.0 |
| oracle | retail_invoice_matching | 16.0 |
and 97 more in the JSON
Official sources
References
Links published by the sources. Open them with care.
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Issue Tracking Mailing List
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.debian.org Mailing List Third Party Advisory
- security.netapp.com Third Party Advisory
- security.netapp.com Third Party Advisory
- support.f5.com Third Party Advisory
- support.hpe.com Third Party Advisory
- support.hpe.com Third Party Advisory