SUSE VEX
SUSEVEX-CVE-2017-5664
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| SUSE:Linux Enterprise High Performance Computing 12 SP2 | tomcat | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 SP2 | tomcat-admin-webapps | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 SP2 | tomcat-docs-webapp | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 SP2 | tomcat-el-3_0-api | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 SP2 | tomcat-javadoc | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 SP2 | tomcat-jsp-2_3-api | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 SP2 | tomcat-lib | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 SP2 | tomcat-servlet-3_1-api | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 SP2 | tomcat-webapps | All versions, no fix yet |
| SUSE:Linux Enterprise Server 12 SP2-BCL | tomcat | All versions, no fix yet |
| SUSE:Linux Enterprise Server 12 SP2-BCL | tomcat-admin-webapps | All versions, no fix yet |
| SUSE:Linux Enterprise Server 12 SP2-BCL | tomcat-docs-webapp | All versions, no fix yet |
| SUSE:Linux Enterprise Server 12 SP2-BCL | tomcat-el-3_0-api | All versions, no fix yet |
| SUSE:Linux Enterprise Server 12 SP2-BCL | tomcat-javadoc | All versions, no fix yet |
| SUSE:Linux Enterprise Server 12 SP2-BCL | tomcat-jsp-2_3-api | All versions, no fix yet |
| SUSE:Linux Enterprise Server 12 SP2-BCL | tomcat-lib | All versions, no fix yet |
| SUSE:Linux Enterprise Server 12 SP2-BCL | tomcat-servlet-3_1-api | All versions, no fix yet |
| SUSE:Linux Enterprise Server 12 SP2-BCL | tomcat-webapps | All versions, no fix yet |
| SUSE:Linux Enterprise Server Teradata 12 SP3 | tomcat | All versions, no fix yet |
| SUSE:OpenStack Cloud 8 | tomcat | All versions, no fix yet |
| SUSE:OpenStack Cloud 8 | tomcat-admin-webapps | All versions, no fix yet |
| SUSE:OpenStack Cloud 8 | tomcat-docs-webapp | All versions, no fix yet |
| SUSE:OpenStack Cloud 8 | tomcat-el-3_0-api | All versions, no fix yet |
| SUSE:OpenStack Cloud 8 | tomcat-javadoc | All versions, no fix yet |
| SUSE:OpenStack Cloud 8 | tomcat-jsp-2_3-api | All versions, no fix yet |
| SUSE:OpenStack Cloud 8 | tomcat-lib | All versions, no fix yet |
| SUSE:OpenStack Cloud 8 | tomcat-servlet-3_1-api | All versions, no fix yet |
| SUSE:OpenStack Cloud 8 | tomcat-webapps | All versions, no fix yet |
| SUSE:OpenStack Cloud Crowbar 8 | tomcat | All versions, no fix yet |
| SUSE:OpenStack Cloud Crowbar 8 | tomcat-admin-webapps | All versions, no fix yet |
| SUSE:OpenStack Cloud Crowbar 8 | tomcat-docs-webapp | All versions, no fix yet |
| SUSE:OpenStack Cloud Crowbar 8 | tomcat-el-3_0-api | All versions, no fix yet |
| SUSE:OpenStack Cloud Crowbar 8 | tomcat-javadoc | All versions, no fix yet |
| SUSE:OpenStack Cloud Crowbar 8 | tomcat-jsp-2_3-api | All versions, no fix yet |
| SUSE:OpenStack Cloud Crowbar 8 | tomcat-lib | All versions, no fix yet |
| SUSE:OpenStack Cloud Crowbar 8 | tomcat-servlet-3_1-api | All versions, no fix yet |
| SUSE:OpenStack Cloud Crowbar 8 | tomcat-webapps | All versions, no fix yet |
References
- https://www.suse.com/security/cve/CVE-2017-5664
- https://www.suse.com/support/security/rating/
- https://bugzilla.suse.com/1042910
- https://lists.suse.com/pipermail/sle-security-updates/2017-November/003401.html
- https://lists.suse.com/pipermail/sle-security-updates/2017-November/003405.html
- https://lists.suse.com/pipermail/sle-security-updates/2017-December/003493.html
- https://lists.suse.com/pipermail/sle-security-updates/2018-June/004231.html
- https://www.suse.com/support/kb/doc/?id=7016795
- https://lists.opensuse.org/archives/list/[email protected]/thread/BYU6XHQ5M6CAKKV2C7V5ALDR52LMF42Y/#BYU6XHQ5M6CAKKV2C7V5ALDR52LMF42Y