ADVISORIES

Vulnerability

CVE-2017-5664

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.

23 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • DLA-996-1

    tomcat7 - security update

    CVE-2017-5664 Debian Updated 20 November 2026
  • DSA-3891-1

    tomcat8 - security update

    CVE-2017-5664 Debian Updated 20 November 2026
  • DSA-3892-1

    tomcat7 - security update

    CVE-2017-5664 Debian Updated 20 November 2026
  • ELSA-2017-1809

    ELSA-2017-1809: tomcat security update (IMPORTANT)

    Important CVE-2017-5648CVE-2017-5664 Oracle Linux Updated 27 July 2017
  • ELSA-2017-3080

    ELSA-2017-3080: tomcat6 security update (IMPORTANT)

    Important Known exploited CVE-2017-12615CVE-2017-12617CVE-2017-5647CVE-2017-5664 Oracle Linux Updated 29 October 2017
  • GHSA-jmvv-524f-hj5j

    Improper Handling of Exceptional Conditions in Apache Tomcat

    High CVE-2017-5664 Maven Updated 11 March 2024
  • RHSA-2017:1801

    Red Hat Security Advisory: Red Hat JBoss Web Server 3.1.0 Service Pack 1 security update

    CVE-2016-6304CVE-2016-7056CVE-2016-8610CVE-2017-5645 Red Hat Updated 23 November 2026
  • RHSA-2017:1809

    Red Hat Security Advisory: tomcat security update

    CVE-2017-5648CVE-2017-5664 Red Hat Updated 13 November 2026
  • RHSA-2017:2493

    Red Hat Security Advisory: Red Hat JBoss Web Server 2 security update

    CVE-2016-6304CVE-2016-8610CVE-2017-5647CVE-2017-5664 Red Hat Updated 13 November 2026
  • RHSA-2017:2635

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.17 update on RHEL 6

    CVE-2017-5645CVE-2017-5664CVE-2017-7525 Red Hat Updated 13 November 2026
  • RHSA-2017:2636

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.17 update on RHEL 7

    CVE-2017-5645CVE-2017-5664CVE-2017-7525 Red Hat Updated 13 November 2026
  • RHSA-2017:2637

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.17 update on RHEL 5

    CVE-2017-5645CVE-2017-5664CVE-2017-7525 Red Hat Updated 13 November 2026
  • RHSA-2017:2638

    Red Hat Security Advisory: jboss-ec2-eap security, bug fix, and enhancement update

    CVE-2017-5645CVE-2017-5664CVE-2017-7525CVE-2019-17571 Red Hat Updated 23 November 2026
  • RHSA-2017:3080

    Red Hat Security Advisory: tomcat6 security update

    Known exploited CVE-2017-12615CVE-2017-12617CVE-2017-5647CVE-2017-5664 Red Hat Updated 13 November 2026
  • SUSE-SU-2017:3039-1

    Security update for tomcat

    Known exploited CVE-2017-12617CVE-2017-5664CVE-2017-7674 SUSE Updated 4 February 2026
  • SUSE-SU-2017:3059-1

    Security update for tomcat

    Known exploited CVE-2017-12615CVE-2017-12616CVE-2017-12617CVE-2017-5664 SUSE Updated 4 February 2026
  • SUSE-SU-2017:3279-1

    Security update for tomcat

    Known exploited CVE-2017-12617CVE-2017-5664CVE-2017-7674 SUSE Updated 4 February 2026
  • SUSE-SU-2018:1847-1

    Security update for tomcat6

    CVE-2017-5664CVE-2018-1304 SUSE Updated 4 February 2026
  • SUSEVEX-CVE-2017-5664

    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…

    Important CVE-2017-5664 SUSE Updated 15 November 2026
  • UBUNTU-CVE-2017-5664

    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…

    CVE-2017-5664 Ubuntu Updated 4 June 2026
  • USN-3519-1

    tomcat7, tomcat8 vulnerabilities

    CVE-2017-5647CVE-2017-5648CVE-2017-5664CVE-2017-7674 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2024:11468-1

    tomcat-9.0.36-8.4 on GA media

    Known exploited CVE-2016-8745CVE-2017-12617CVE-2017-5647CVE-2017-5648 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13441-1

    tomcat10-10.1.14-1.1 on GA media

    Known exploited CVE-2013-1976CVE-2014-0050CVE-2015-5174CVE-2015-5345 openSUSE Updated 4 February 2026

References