Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2017-5664

tomcat: Security constrained bypass in error page mechanism

Overview

Published
6 Jun 2017
Modified
15 Oct 2026
High CVE
1 Registry packages
145 OS packages
4 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.0 base score, scored by NVD.

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

Weakness: CWE-755

Affected packages · 1

Packages affected by CVE-2017-5664
EcosystemPackageVulnerableFixed in
Maven org.apache.tomcat:tomcat >=9.0.0.M1, <9.0.0.M21>=8.5.0, <8.5.15>=8.0.0, <8.0.44>=7.0.0, <7.0.78 9.0.0.M218.5.158.0.447.0.78

Open a package to see all its vulnerabilities.

Operating systems · 26 fixes

Oracle Linux 1 release · 1 package

fixed 1
tomcat
Oracle Linux fixes for CVE-2017-5664
ReleasePackageFixed in
7 tomcat +9 7.0.69-12.el7_3

Red Hat 1 release · 21 packages

fixed 22
log4j-jboss-logmanager log4j-eap6 tomcat-native jboss-modules jboss-marshalling codehaus-jackson +15
Red Hat fixes for CVE-2017-5664
ReleasePackageFixed inAdvisory
7 log4j-jboss-logmanager 0:1.1.4-1.Final_redhat_1.1.ep6.el7 RHSA-2017:2636
7 log4j-eap6 0:1.2.16-12.redhat_3.1.ep6.el7 RHSA-2017:1801
7 log4j-eap6 0:1.2.16-12.redhat_3.1.ep6.el7 RHSA-2017:2636
7 tomcat-native 0:1.2.8-10.redhat_10.ep7.el7 RHSA-2017:1801
7 jboss-modules 0:1.3.10-1.Final_redhat_1.1.ep6.el7 RHSA-2017:2636
7 jboss-marshalling 0:1.4.10-3.SP3_redhat_1.1.ep6.el7 RHSA-2017:2636

16 more rows

debian 1 release · 1 package

fixed 1
tomcat8
debian fixes for CVE-2017-5664
ReleasePackageFixed in
9 tomcat8 8.5.14-1+deb9u1

openSUSE 1 release · 2 packages

fixed 2
tomcat10 tomcat
openSUSE fixes for CVE-2017-5664
ReleasePackageFixed inAdvisory
Tumbleweed tomcat10 +10 10.1.14-1.1 openSUSE-SU-2024:13441-1
Tumbleweed tomcat +10 9.0.36-8.4 openSUSE-SU-2024:11468-1

References

Show all 75 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.