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.
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Update Tomcat to 9.5.14 | Windows |
| Update Tomcat to 9.5.5 | Windows |
| Update Tomcat to 9.5.7 | Windows |
| Update Tomcat to 9.5.8 | Windows |
| Update Tomcat to 9.6.10 | Windows |
| Update Tomcat to 9.6.3 | Windows |
| Update Tomcat to 9.6.4 | Windows |
| Update Tomcat to 9.6.7 | Windows |
| Update Tomcat to 9.6.8 | Windows |
| Update Tomcat to 2.4.5 | Windows |
| Update Tomcat to 3.0.14 | Windows |
| Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat 9.0.0 | Windows |
| Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat 8.5.15 | Windows |
| Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat 8.0.44 | Windows |
| Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat 7.0.78 | Windows |
| Servlet and JSP engine (USN-3519-1) tomcat7_7.0.52-1ubuntu0.13_all.deb | Linux |
| Servlet and JSP engine (USN-3519-1) tomcat8_8.0.32-1ubuntu1.5_all.deb | Linux |
| Servlet and JSP engine (USN-3519-1) tomcat8_8.0.38-2ubuntu2.2_all.deb | Linux |
| Servlet and JSP engine (USN-3519-1) libtomcat7-java_7.0.52-1ubuntu0.13_all.deb | Linux |
| Servlet and JSP engine (USN-3519-1) libtomcat8-java_8.0.32-1ubuntu1.5_all.deb | Linux |
| Servlet and JSP engine (USN-3519-1) libtomcat8-java_8.0.38-2ubuntu2.2_all.deb | Linux |
| tomcat8 security update(DSA-3891-1) tomcat8_8.0.14-1+deb8u10_all.deb | Linux |
| Tomcat6 security update (CESA-2016:2045) tomcat6-6.0.24-111.el6_9.noarch.rpm | Linux |
| Tomcat6 security update (CESA-2016:2045) tomcat6-lib-6.0.24-111.el6_9.noarch.rpm | Linux |
| Tomcat6 security update (CESA-2016:2045) tomcat6-javadoc-6.0.24-111.el6_9.noarch.rpm | Linux |
| Tomcat6 security update (CESA-2016:2045) tomcat6-webapps-6.0.24-111.el6_9.noarch.rpm | Linux |
| Tomcat6 security update (CESA-2016:2045) tomcat6-el-2.1-api-6.0.24-111.el6_9.noarch.rpm | Linux |
| Tomcat6 security update (CESA-2016:2045) tomcat6-docs-webapp-6.0.24-111.el6_9.noarch.rpm | Linux |
| Tomcat6 security update (CESA-2016:2045) tomcat6-jsp-2.1-api-6.0.24-111.el6_9.noarch.rpm | Linux |
| Tomcat6 security update (CESA-2016:2045) tomcat6-admin-webapps-6.0.24-111.el6_9.noarch.rpm | Linux |
| Tomcat6 security update (CESA-2016:2045) tomcat6-servlet-2.5-api-6.0.24-111.el6_9.noarch.rpm | Linux |
| (RHSA-2017:3080) Important: tomcat6 security update tomcat6-6.0.24-111.el6_9.noarch.rpm | Linux |
| (RHSA-2017:3080) Important: tomcat6 security update tomcat6-admin-webapps-6.0.24-111.el6_9.noarch.rpm | Linux |
| (RHSA-2017:3080) Important: tomcat6 security update tomcat6-docs-webapp-6.0.24-111.el6_9.noarch.rpm | Linux |
| (RHSA-2017:3080) Important: tomcat6 security update tomcat6-javadoc-6.0.24-111.el6_9.noarch.rpm | Linux |
| (RHSA-2017:3080) Important: tomcat6 security update tomcat6-lib-6.0.24-111.el6_9.noarch.rpm | Linux |
| (RHSA-2017:3080) Important: tomcat6 security update tomcat6-webapps-6.0.24-111.el6_9.noarch.rpm | Linux |
| SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-6.0.53-0.57.7.1.noarch.rpm | Linux |
| SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-admin-webapps-6.0.53-0.57.7.1.noarch.rpm | Linux |
| SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-docs-webapp-6.0.53-0.57.7.1.noarch.rpm | Linux |
| SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-javadoc-6.0.53-0.57.7.1.noarch.rpm | Linux |
| SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-jsp-2_1-api-6.0.53-0.57.7.1.noarch.rpm | Linux |
| SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-lib-6.0.53-0.57.7.1.noarch.rpm | Linux |
| SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-servlet-2_5-api-6.0.53-0.57.7.1.noarch.rpm | Linux |
| SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-webapps-6.0.53-0.57.7.1.noarch.rpm | Linux |
| (RHSA-2017:3080) tomcat6 security update tomcat6-el-2.1-api-6.0.24-111.el6_9.noarch.rpm | Linux |
| (RHSA-2017:3080) tomcat6 security update tomcat6-jsp-2.1-api-6.0.24-111.el6_9.noarch.rpm | Linux |
| (RHSA-2017:3080) tomcat6 security update tomcat6-servlet-2.5-api-6.0.24-111.el6_9.noarch.rpm | Linux |
| Update Tomcat to 9.5.14 (For Linux) | Linux |
| Update Tomcat to 9.5.5 (For Linux) | Linux |
| Update Tomcat to 9.5.7 (For Linux) | Linux |
| Update Tomcat to 9.5.8 (For Linux) | Linux |
| Update Tomcat to 9.6.10 (For Linux) | Linux |
| Update Tomcat to 9.6.3 (For Linux) | Linux |
| Update Tomcat to 9.6.4 (For Linux) | Linux |
| Update Tomcat to 9.6.7 (For Linux) | Linux |
| Update Tomcat to 9.6.8 (For Linux) | Linux |
| Update Tomcat to 2.4.5 (For Linux) | Linux |
| Update Tomcat to 3.0.14 (For Linux) | Linux |
| Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat for Linux 9.0.0 | Linux |
| Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat for Linux 8.5.15 | Linux |
| Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat for Linux 8.0.44 | Linux |
| Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat for Linux 7.0.78 | Linux |
| Improper Handling of Exceptional Conditions Vulnerability (CVE-2017-5664) | NCM |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234