CVE catalog

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 forwar

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
16.57% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiantomcat9sid9.0.122-1not affected
Debiantomcat9forky9.0.122-1not affected
Debiantomcat9trixie9.0.95-1not affected
Debiantomcat9bookworm9.0.70-2not affected
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
Ubuntutomcat714.047.0.42-1vulnerable
Ubuntutomcat714.047.0.47-1vulnerable
Ubuntutomcat714.047.0.50-1vulnerable
Ubuntutomcat714.047.0.52-1vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.1vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.3vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.6vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.7vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.8vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.9vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.10vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.11vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.13fixed
Ubuntutomcat6pro6.0.37-1vulnerable
Ubuntutomcat6pro6.0.39-1vulnerable
Ubuntutomcat6pro6.0.39-1ubuntu0.1vulnerable
Ubuntutomcat6pro6.0.39-1ubuntu0.1+esm1vulnerable
Ubuntutomcat6pro6.0.39-1ubuntu0.1+esm2vulnerable
Ubuntutomcat6pro6.0.39-1ubuntu0.1+esm3vulnerable
Ubuntutomcat816.048.0.26-1vulnerable
Ubuntutomcat816.048.0.28-1vulnerable
Ubuntutomcat816.048.0.30-1vulnerable
Ubuntutomcat816.048.0.32-1vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1.1vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1.2vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1.3vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1.4vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1.5fixed
Ubuntutomcat7pro7.0.64-1vulnerable
Ubuntutomcat7pro7.0.68-1vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.1vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.3vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4+esm1vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4+esm2vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4+esm3vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4+esm4vulnerable
Susetomcat6linux enterprise server 11 sp46.0.53-0.57.7.1fixed
Susetomcat6linux enterprise server for sap applications 11 sp46.0.53-0.57.7.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantomcat9sourcesidNot affectedunimportantNot reportedNot reported
Debiantomcat9sourceforkyNot affectedunimportantNot reportedNot reported
Debiantomcat9sourcetrixieNot affectedunimportantNot reportedNot reported
Debiantomcat9sourcebookwormNot affectedunimportantNot reportedNot reported
Ubuntutomcat7deb14.047.0.52-1ubuntu0.13Not reportedUBUNTU-CVE-2017-5664Not reported
Ubuntutomcat8deb16.048.0.32-1ubuntu1.5Not reportedUBUNTU-CVE-2017-5664Not reported
Susetomcat6rpmlinux enterprise server 11 sp46.0.53-0.57.7.1Not reportedSUSE-SU-2018:1847-1Not reported
Susetomcat6rpmlinux enterprise server for sap applications 11 sp46.0.53-0.57.7.1Not reportedSUSE-SU-2018:1847-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libtomcat9-java]Not affected

    Source package: [tomcat9]

    Details (2)
    • 9.0.70-2 · all · bookworm

      Not affected

      nvd · tomcat9 · debian · bookworm

    • 9.0.70-2 · all · bookworm

      Not affected

      nvd · tomcat9 · debian · bookworm

Observed:

References