CVE-2017-5664
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
-
CWE-755: Improper Handling of Exceptional Conditions
The product does not handle or incorrectly handles an exceptional condition.
References
- http://www.securityfocus.com/bid/98888
- http://www.securityfocus.com/bid/98888
- http://www.debian.org/security/2017/dsa-3891
- http://www.debian.org/security/2017/dsa-3892
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- http://www.securitytracker.com/id/1038641
- https://access.redhat.com/errata/RHSA-2017:1801
- https://access.redhat.com/errata/RHSA-2017:1802
- https://access.redhat.com/errata/RHSA-2017:1809
- https://access.redhat.com/errata/RHSA-2017:2493
- https://access.redhat.com/errata/RHSA-2017:2494
- https://access.redhat.com/errata/RHSA-2017:2633
- https://access.redhat.com/errata/RHSA-2017:2635
- https://access.redhat.com/errata/RHSA-2017:2636
- https://access.redhat.com/errata/RHSA-2017:2637
- https://access.redhat.com/errata/RHSA-2017:2638
- https://access.redhat.com/errata/RHSA-2017:3080
Related at Berigo
Articles
-
Attackers are exploiting the plug-in in front of Oracle WebLogic
Same product
2026-08-25
CISA added CVE-2026-21962 to its Known Exploited Vulnerabilities Catalog on 24 August, citing evidence of active exploitation. The flaw sits in Oracl…
-
The crypto library behind Python now ships quantum-resistant algorithms
Same product
2026-08-18
Trail of Bits has added ML-KEM and ML-DSA to pyca/cryptography, funded by the Sovereign Tech Agency. The library is the eleventh most downloaded pack…
-
Unit 42: Chinese speaking actor ran autonomous attacks with an AI agent
Same product
2026-07-31
On 30 July 2026 Unit 42 published a campaign in which a Chinese speaking actor let an AI agent find targets, fetch exploit code and attempt exploitat…
-
AI agent chose targets and switched vulnerability on its own in Chinese campaign
Same product
2026-07-31
Unit 42 describes a Chinese speaking actor who paired the DeepSeek language model with the Hermes Agent framework, and let the setup find targets, pu…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.