Live threats

All CVEs / Apache

CVE-2017-5664Apache Tomcat

High 7.5 No auth neededHigh EPSS

Priority
62
CVSS 3.0
7.5
EPSS
16.6%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Jun 6, 2017
Updated
Oct 15, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-755
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

The error page mechanism of the Java Servlet Specification requires that, when an error occurs and an error page is configured for the error that occurred, the original request and response are forwarded to the error page. This means that the request is presented to the error page with the original HTTP method. If the error page is a static file, expected behaviour is to serve content of the file as if processing a GET request, regardless of the actual HTTP method. The Default Servlet in Apache Tomcat 9.0.0.M1 to 9.0.0.M20, 8.5.0 to 8.5.14, 8.0.0.RC1 to 8.0.43 and 7.0.0 to 7.0.77 did not do this. Depending on the original request this could lead to unexpected and undesirable results for static error pages including, if the DefaultServlet is configured to permit writes, the replacement or removal of the custom error page. Notes for other user provided error pages: (1) Unless explicitly coded otherwise, JSPs ignore the HTTP method. JSPs used as error pages must must ensure that they handle any error dispatch as a GET request, regardless of the actual method. (2) By default, the response generated by a Servlet does depend on the HTTP method. Custom Servlets used as error pages must ensure that they handle any error dispatch as a GET request, regardless of the actual method.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tomcat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.tomcat:tomcat ≥ 9.0.0.M1 < 9.0.0.M21 9.0.0.M21 —
Maven org.apache.tomcat:tomcat ≥ 8.5.0 < 8.5.15 8.5.15 —
Maven org.apache.tomcat:tomcat ≥ 8.0.0 < 8.0.44 8.0.44 —
Maven org.apache.tomcat:tomcat ≥ 7.0.0 < 7.0.78 7.0.78 —

Per OSV / GitHub Advisories (GHSA-jmvv-524f-hj5j). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachetomcat7.0.0
apachetomcat7.0.0
apachetomcat7.0.1
apachetomcat7.0.2
apachetomcat7.0.2
apachetomcat7.0.3
apachetomcat7.0.4
apachetomcat7.0.4
apachetomcat7.0.5
apachetomcat7.0.5
apachetomcat7.0.6
apachetomcat7.0.7
apachetomcat7.0.8
apachetomcat7.0.9
apachetomcat7.0.10
apachetomcat7.0.11
apachetomcat7.0.12
apachetomcat7.0.13
apachetomcat7.0.14
apachetomcat7.0.15
apachetomcat7.0.16
apachetomcat7.0.17
apachetomcat7.0.18
apachetomcat7.0.19
apachetomcat7.0.20
apachetomcat7.0.21
apachetomcat7.0.22
apachetomcat7.0.23
apachetomcat7.0.24
apachetomcat7.0.25
apachetomcat7.0.26
apachetomcat7.0.27
apachetomcat7.0.28
apachetomcat7.0.29
apachetomcat7.0.30
apachetomcat7.0.31
apachetomcat7.0.32
apachetomcat7.0.33
apachetomcat7.0.34
apachetomcat7.0.35
apachetomcat7.0.36
apachetomcat7.0.37
apachetomcat7.0.38
apachetomcat7.0.39
apachetomcat7.0.40
apachetomcat7.0.41
apachetomcat7.0.42
apachetomcat7.0.43
apachetomcat7.0.44
apachetomcat7.0.45
apachetomcat7.0.46
apachetomcat7.0.47
apachetomcat7.0.48
apachetomcat7.0.49
apachetomcat7.0.50
apachetomcat7.0.51
apachetomcat7.0.54
apachetomcat7.0.55
apachetomcat7.0.56
apachetomcat7.0.57

and 101 more in the JSON

Official sources

References

Links published by the sources. Open them with care.