CVEfocus › CVE database › CVE-2017-12617

CVE-2017-12617

Known exploited (CISA KEV)CVSS 8.1 HighEPSS 99.9% (in the top 1% of all CVEs)Published 2017-10-03Updated 2025-10-21Assigner: apache

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.

CWE-434

What to do

This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2022-03-25). If you run an affected version, patch or mitigate now.

Fixed builds are available from Maven, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

23Fixed
1Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04tomcat7Fix pendingUBUNTU-CVE-2017-12617
Ubuntu 16.04tomcat7Will not fix
package tomcat7 does not build affected binaries in Bionic.
7.0.68-1ubuntu0.4+esm3 (Ubuntu Pro)UBUNTU-CVE-2017-12617
Ubuntu 16.04tomcat8Fixed8.0.32-1ubuntu1.6UBUNTU-CVE-2017-12617
Ubuntu 14.04tomcat7Fixed7.0.52-1ubuntu0.14UBUNTU-CVE-2017-12617
Red Hat Enterprise Linux 7tomcatFixed0:7.0.76-3.el7_4RHSA-2017:3081
Red Hat Enterprise Linux 7tomcat-admin-webappsFixed0:7.0.76-3.el7_4RHSA-2017:3081
Red Hat Enterprise Linux 7tomcat-docs-webappFixed0:7.0.76-3.el7_4RHSA-2017:3081
Red Hat Enterprise Linux 7tomcat-el-2.2-apiFixed0:7.0.76-3.el7_4RHSA-2017:3081
Red Hat Enterprise Linux 7tomcat-javadocFixed0:7.0.76-3.el7_4RHSA-2017:3081
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiFixed0:7.0.76-3.el7_4RHSA-2017:3081
Red Hat Enterprise Linux 7tomcat-jsvcFixed0:7.0.76-3.el7_4RHSA-2017:3081
Red Hat Enterprise Linux 7tomcat-libFixed0:7.0.76-3.el7_4RHSA-2017:3081
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiFixed0:7.0.76-3.el7_4RHSA-2017:3081
Red Hat Enterprise Linux 7tomcat-webappsFixed0:7.0.76-3.el7_4RHSA-2017:3081
Red Hat Enterprise Linux 6tomcat6Fixed0:6.0.24-111.el6_9RHSA-2017:3080
Red Hat Enterprise Linux 6tomcat6-admin-webappsFixed0:6.0.24-111.el6_9RHSA-2017:3080
Red Hat Enterprise Linux 6tomcat6-docs-webappFixed0:6.0.24-111.el6_9RHSA-2017:3080
Red Hat Enterprise Linux 6tomcat6-el-2.1-apiFixed0:6.0.24-111.el6_9RHSA-2017:3080
Red Hat Enterprise Linux 6tomcat6-javadocFixed0:6.0.24-111.el6_9RHSA-2017:3080
Red Hat Enterprise Linux 6tomcat6-jsp-2.1-apiFixed0:6.0.24-111.el6_9RHSA-2017:3080
Red Hat Enterprise Linux 6tomcat6-libFixed0:6.0.24-111.el6_9RHSA-2017:3080
Red Hat Enterprise Linux 6tomcat6-servlet-2.5-apiFixed0:6.0.24-111.el6_9RHSA-2017:3080
Red Hat Enterprise Linux 6tomcat6-webappsFixed0:6.0.24-111.el6_9RHSA-2017:3080
Red Hat Enterprise Linux 5tomcat5Will not fix
Will not fix
Maven libraryorg.apache.tomcat.embed:tomcat-embed-coreFixed9.0.1GHSA-xjgh-84hx-56c5
Maven libraryorg.apache.tomcat:tomcat-catalinaFixed8.5.23GHSA-xjgh-84hx-56c5

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.