CVE-2017-5664

Summary

CVECVE-2017-5664
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-06-06 14:29:00 UTC
Updated2025-04-20 01:37:25 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.0 7.5 HIGH from [email protected]

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Problem Types: CWE-755 | Security Constrainy Bypass


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary7.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
2.0[email protected]Primary5AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:L/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Tomcat 7.0.0 All All All
Application Apache Tomcat 7.0.0 beta All All
Application Apache Tomcat 7.0.1 All All All
Application Apache Tomcat 7.0.10 All All All
Application Apache Tomcat 7.0.11 All All All
Application Apache Tomcat 7.0.12 All All All
Application Apache Tomcat 7.0.13 All All All
Application Apache Tomcat 7.0.14 All All All
Application Apache Tomcat 7.0.15 All All All
Application Apache Tomcat 7.0.16 All All All
Application Apache Tomcat 7.0.17 All All All
Application Apache Tomcat 7.0.18 All All All
Application Apache Tomcat 7.0.19 All All All
Application Apache Tomcat 7.0.2 All All All
Application Apache Tomcat 7.0.2 beta All All
Application Apache Tomcat 7.0.20 All All All
Application Apache Tomcat 7.0.21 All All All
Application Apache Tomcat 7.0.22 All All All
Application Apache Tomcat 7.0.23 All All All
Application Apache Tomcat 7.0.24 All All All
Application Apache Tomcat 7.0.25 All All All
Application Apache Tomcat 7.0.26 All All All
Application Apache Tomcat 7.0.27 All All All
Application Apache Tomcat 7.0.28 All All All
Application Apache Tomcat 7.0.29 All All All
Application Apache Tomcat 7.0.3 All All All
Application Apache Tomcat 7.0.30 All All All
Application Apache Tomcat 7.0.31 All All All
Application Apache Tomcat 7.0.32 All All All
Application Apache Tomcat 7.0.33 All All All
Application Apache Tomcat 7.0.34 All All All
Application Apache Tomcat 7.0.35 All All All
Application Apache Tomcat 7.0.36 All All All
Application Apache Tomcat 7.0.37 All All All
Application Apache Tomcat 7.0.38 All All All
Application Apache Tomcat 7.0.39 All All All
Application Apache Tomcat 7.0.4 All All All
Application Apache Tomcat 7.0.4 beta All All
Application Apache Tomcat 7.0.40 All All All
Application Apache Tomcat 7.0.41 All All All
Application Apache Tomcat 7.0.42 All All All
Application Apache Tomcat 7.0.43 All All All
Application Apache Tomcat 7.0.44 All All All
Application Apache Tomcat 7.0.45 All All All
Application Apache Tomcat 7.0.46 All All All
Application Apache Tomcat 7.0.47 All All All
Application Apache Tomcat 7.0.48 All All All
Application Apache Tomcat 7.0.49 All All All
Application Apache Tomcat 7.0.5 All All All
Application Apache Tomcat 7.0.5 beta All All
Application Apache Tomcat 7.0.50 All All All
Application Apache Tomcat 7.0.51 All All All
Application Apache Tomcat 7.0.54 All All All
Application Apache Tomcat 7.0.55 All All All
Application Apache Tomcat 7.0.56 All All All
Application Apache Tomcat 7.0.57 All All All
Application Apache Tomcat 7.0.58 All All All
Application Apache Tomcat 7.0.59 All All All
Application Apache Tomcat 7.0.6 All All All
Application Apache Tomcat 7.0.60 All All All
Application Apache Tomcat 7.0.61 All All All
Application Apache Tomcat 7.0.62 All All All
Application Apache Tomcat 7.0.63 All All All
Application Apache Tomcat 7.0.64 All All All
Application Apache Tomcat 7.0.65 All All All
Application Apache Tomcat 7.0.66 All All All
Application Apache Tomcat 7.0.67 All All All
Application Apache Tomcat 7.0.68 All All All
Application Apache Tomcat 7.0.69 All All All
Application Apache Tomcat 7.0.7 All All All
Application Apache Tomcat 7.0.70 All All All
Application Apache Tomcat 7.0.71 All All All
Application Apache Tomcat 7.0.72 All All All
Application Apache Tomcat 7.0.73 All All All
Application Apache Tomcat 7.0.74 All All All
Application Apache Tomcat 7.0.75 All All All
Application Apache Tomcat 7.0.76 All All All
Application Apache Tomcat 7.0.77 All All All
Application Apache Tomcat 7.0.8 All All All
Application Apache Tomcat 7.0.9 All All All
Application Apache Tomcat 8.0.0 rc1 All All
Application Apache Tomcat 8.0.0 rc10 All All
Application Apache Tomcat 8.0.0 rc3 All All
Application Apache Tomcat 8.0.0 rc5 All All
Application Apache Tomcat 8.0.1 All All All
Application Apache Tomcat 8.0.10 All All All
Application Apache Tomcat 8.0.11 All All All
Application Apache Tomcat 8.0.12 All All All
Application Apache Tomcat 8.0.13 All All All
Application Apache Tomcat 8.0.14 All All All
Application Apache Tomcat 8.0.15 All All All
Application Apache Tomcat 8.0.16 All All All
Application Apache Tomcat 8.0.17 All All All
Application Apache Tomcat 8.0.18 All All All
Application Apache Tomcat 8.0.19 All All All
Application Apache Tomcat 8.0.2 All All All
Application Apache Tomcat 8.0.20 All All All
Application Apache Tomcat 8.0.21 All All All
Application Apache Tomcat 8.0.22 All All All
Application Apache Tomcat 8.0.23 All All All
Application Apache Tomcat 8.0.24 All All All
Application Apache Tomcat 8.0.25 All All All
Application Apache Tomcat 8.0.26 All All All
Application Apache Tomcat 8.0.27 All All All
Application Apache Tomcat 8.0.28 All All All
Application Apache Tomcat 8.0.29 All All All
Application Apache Tomcat 8.0.3 All All All
Application Apache Tomcat 8.0.30 All All All
Application Apache Tomcat 8.0.31 All All All
Application Apache Tomcat 8.0.32 All All All
Application Apache Tomcat 8.0.33 All All All
Application Apache Tomcat 8.0.34 All All All
Application Apache Tomcat 8.0.35 All All All
Application Apache Tomcat 8.0.36 All All All
Application Apache Tomcat 8.0.37 All All All
Application Apache Tomcat 8.0.38 All All All
Application Apache Tomcat 8.0.39 All All All
Application Apache Tomcat 8.0.4 All All All
Application Apache Tomcat 8.0.40 All All All
Application Apache Tomcat 8.0.41 All All All
Application Apache Tomcat 8.0.42 All All All
Application Apache Tomcat 8.0.43 All All All
Application Apache Tomcat 8.0.5 All All All
Application Apache Tomcat 8.0.6 All All All
Application Apache Tomcat 8.0.7 All All All
Application Apache Tomcat 8.0.9 All All All
Application Apache Tomcat 8.5.0 All All All
Application Apache Tomcat 8.5.1 All All All
Application Apache Tomcat 8.5.10 All All All
Application Apache Tomcat 8.5.11 All All All
Application Apache Tomcat 8.5.12 All All All
Application Apache Tomcat 8.5.13 All All All
Application Apache Tomcat 8.5.14 All All All
Application Apache Tomcat 8.5.2 All All All
Application Apache Tomcat 8.5.3 All All All
Application Apache Tomcat 8.5.4 All All All
Application Apache Tomcat 8.5.5 All All All
Application Apache Tomcat 8.5.6 All All All
Application Apache Tomcat 8.5.7 All All All
Application Apache Tomcat 8.5.8 All All All
Application Apache Tomcat 8.5.9 All All All
Application Apache Tomcat 9.0.0 milestone1 All All
Application Apache Tomcat 9.0.0 milestone10 All All
Application Apache Tomcat 9.0.0 milestone11 All All
Application Apache Tomcat 9.0.0 milestone12 All All
Application Apache Tomcat 9.0.0 milestone13 All All
Application Apache Tomcat 9.0.0 milestone14 All All
Application Apache Tomcat 9.0.0 milestone15 All All
Application Apache Tomcat 9.0.0 milestone16 All All
Application Apache Tomcat 9.0.0 milestone17 All All
Application Apache Tomcat 9.0.0 milestone18 All All
Application Apache Tomcat 9.0.0 milestone19 All All
Application Apache Tomcat 9.0.0 milestone2 All All
Application Apache Tomcat 9.0.0 milestone20 All All
Application Apache Tomcat 9.0.0 milestone3 All All
Application Apache Tomcat 9.0.0 milestone4 All All
Application Apache Tomcat 9.0.0 milestone5 All All
Application Apache Tomcat 9.0.0 milestone6 All All
Application Apache Tomcat 9.0.0 milestone7 All All
Application Apache Tomcat 9.0.0 milestone8 All All
Application Apache Tomcat 9.0.0 milestone9 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache Tomcat affected 9.0.0.M1 to 9.0.0.M20 Not specified
CNA Apache Software Foundation Apache Tomcat affected 8.5.0 to 8.5.14 Not specified
CNA Apache Software Foundation Apache Tomcat affected 8.0.0.RC1 to 8.0.43 Not specified
CNA Apache Software Foundation Apache Tomcat affected 7.0.0 to 7.0.77 Not specified

References

ReferenceSourceLinkTags
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Oracle Critical Patch Update - July 2019 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Debian -- Security Information -- DSA-3892-1 tomcat7 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
October 2017 MySQL Vulnerabilities in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Apache Tomcat CVE-2017-5664 Security Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Oracle Critical Patch Update - October 2017 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Oracle Critical Patch Update - January 2018 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Oracle Critical Patch Update - April 2018 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Document Display | HPE Support Center af854a3a-2127-422b-91ae-364da2661108 support.hpe.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Oracle Critical Patch Update Advisory - April 2019 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
CPU July 2018 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Debian -- Security Information -- DSA-3891-1 tomcat8 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Apache Tomcat Default Servlet Error Handling Bug May Let Remote Users Bypass HTTP Method Restrictions on the Target Error Page - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 378318 Virtuozzo Linux Security Update for tomcat6-lib (VZLSA-2017:3080)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report