CVE-2017-12617: Apache Tomcat Remote Code Execution Vulnerability

High severity, CVSS 8.1. Actively exploited: in CISA KEV since 2022-03-25. EPSS: >99% probability of exploitation activity in the next 30 days.

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.

What to do

CISA's required action (US federal agencies, by 2022-04-15): Apply updates per vendor instructions.

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Apache Tomcat, from 7.0.0, before 7.0.82: fixed in 7.0.82
  • Apache Tomcat, from 8.0, before 8.0.47: fixed in 8.0.47
  • Apache Tomcat, from 8.5.0, before 8.5.23: fixed in 8.5.23
  • Apache Tomcat, from 9.0.0, before 9.0.1: fixed in 9.0.1

Affected products

Affected packages

Published 2017-10-04. Last modified 2026-08-25.