Vulnerabilities

CVE-2017-5664

High 7.5 CVSS 3.0

Description

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.

Description as published by the source, in English.

Key facts

Published
2017-06-06
Last modified
2026-10-15
Assigned by
security@apache.org
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
16.6 % higher than 97 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Apache Tomcat 7.0.0 Affected
Apache Tomcat 7.0.1 Affected
Apache Tomcat 7.0.10 Affected
Apache Tomcat 7.0.11 Affected
Apache Tomcat 7.0.12 Affected
Apache Tomcat 7.0.13 Affected
Apache Tomcat 7.0.14 Affected
Apache Tomcat 7.0.15 Affected
Apache Tomcat 7.0.16 Affected
Apache Tomcat 7.0.17 Affected
Apache Tomcat 7.0.18 Affected
Apache Tomcat 7.0.19 Affected
Apache Tomcat 7.0.2 Affected
Apache Tomcat 7.0.20 Affected
Apache Tomcat 7.0.21 Affected
Apache Tomcat 7.0.22 Affected
Apache Tomcat 7.0.23 Affected
Apache Tomcat 7.0.24 Affected
Apache Tomcat 7.0.25 Affected
Apache Tomcat 7.0.26 Affected
Apache Tomcat 7.0.27 Affected
Apache Tomcat 7.0.28 Affected
Apache Tomcat 7.0.29 Affected
Apache Tomcat 7.0.3 Affected
Apache Tomcat 7.0.30 Affected
Apache Tomcat 7.0.31 Affected
Apache Tomcat 7.0.32 Affected
Apache Tomcat 7.0.33 Affected
Apache Tomcat 7.0.34 Affected
Apache Tomcat 7.0.35 Affected
Apache Tomcat 7.0.36 Affected
Apache Tomcat 7.0.37 Affected
Apache Tomcat 7.0.38 Affected
Apache Tomcat 7.0.39 Affected
Apache Tomcat 7.0.4 Affected
Apache Tomcat 7.0.40 Affected
Apache Tomcat 7.0.41 Affected
Apache Tomcat 7.0.42 Affected
Apache Tomcat 7.0.43 Affected
Apache Tomcat 7.0.44 Affected
Apache Tomcat 7.0.45 Affected
Apache Tomcat 7.0.46 Affected
Apache Tomcat 7.0.47 Affected
Apache Tomcat 7.0.48 Affected
Apache Tomcat 7.0.49 Affected
Apache Tomcat 7.0.5 Affected
Apache Tomcat 7.0.50 Affected
Apache Tomcat 7.0.51 Affected
Apache Tomcat 7.0.54 Affected
Apache Tomcat 7.0.55 Affected
Apache Tomcat 7.0.56 Affected
Apache Tomcat 7.0.57 Affected
Apache Tomcat 7.0.58 Affected
Apache Tomcat 7.0.59 Affected
Apache Tomcat 7.0.6 Affected
Apache Tomcat 7.0.60 Affected
Apache Tomcat 7.0.61 Affected
Apache Tomcat 7.0.62 Affected
Apache Tomcat 7.0.63 Affected
Apache Tomcat 7.0.64 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities