
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
- Severity
- High · CVSS 7.5
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | tomcat9 | sid | 9.0.122-1 | not affected |
| Debian | tomcat9 | forky | 9.0.122-1 | not affected |
| Debian | tomcat9 | trixie | 9.0.95-1 | not affected |
| Debian | tomcat9 | bookworm | 9.0.70-2 | not affected |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Cpe | tomcat | Not reported | Not reported | unknown |
| Ubuntu | tomcat7 | 14.04 | 7.0.42-1 | vulnerable |
| Ubuntu | tomcat7 | 14.04 | 7.0.47-1 | vulnerable |
| Ubuntu | tomcat7 | 14.04 | 7.0.50-1 | vulnerable |
| Ubuntu | tomcat7 | 14.04 | 7.0.52-1 | vulnerable |
| Ubuntu | tomcat7 | 14.04 | 7.0.52-1ubuntu0.1 | vulnerable |
| Ubuntu | tomcat7 | 14.04 | 7.0.52-1ubuntu0.3 | vulnerable |
| Ubuntu | tomcat7 | 14.04 | 7.0.52-1ubuntu0.6 | vulnerable |
| Ubuntu | tomcat7 | 14.04 | 7.0.52-1ubuntu0.7 | vulnerable |
| Ubuntu | tomcat7 | 14.04 | 7.0.52-1ubuntu0.8 | vulnerable |
| Ubuntu | tomcat7 | 14.04 | 7.0.52-1ubuntu0.9 | vulnerable |
| Ubuntu | tomcat7 | 14.04 | 7.0.52-1ubuntu0.10 | vulnerable |
| Ubuntu | tomcat7 | 14.04 | 7.0.52-1ubuntu0.11 | vulnerable |
| Ubuntu | tomcat7 | 14.04 | 7.0.52-1ubuntu0.13 | fixed |
| Ubuntu | tomcat6 | pro | 6.0.37-1 | vulnerable |
| Ubuntu | tomcat6 | pro | 6.0.39-1 | vulnerable |
| Ubuntu | tomcat6 | pro | 6.0.39-1ubuntu0.1 | vulnerable |
| Ubuntu | tomcat6 | pro | 6.0.39-1ubuntu0.1+esm1 | vulnerable |
| Ubuntu | tomcat6 | pro | 6.0.39-1ubuntu0.1+esm2 | vulnerable |
| Ubuntu | tomcat6 | pro | 6.0.39-1ubuntu0.1+esm3 | vulnerable |
| Ubuntu | tomcat8 | 16.04 | 8.0.26-1 | vulnerable |
| Ubuntu | tomcat8 | 16.04 | 8.0.28-1 | vulnerable |
| Ubuntu | tomcat8 | 16.04 | 8.0.30-1 | vulnerable |
| Ubuntu | tomcat8 | 16.04 | 8.0.32-1 | vulnerable |
| Ubuntu | tomcat8 | 16.04 | 8.0.32-1ubuntu1 | vulnerable |
| Ubuntu | tomcat8 | 16.04 | 8.0.32-1ubuntu1.1 | vulnerable |
| Ubuntu | tomcat8 | 16.04 | 8.0.32-1ubuntu1.2 | vulnerable |
| Ubuntu | tomcat8 | 16.04 | 8.0.32-1ubuntu1.3 | vulnerable |
| Ubuntu | tomcat8 | 16.04 | 8.0.32-1ubuntu1.4 | vulnerable |
| Ubuntu | tomcat8 | 16.04 | 8.0.32-1ubuntu1.5 | fixed |
| Ubuntu | tomcat7 | pro | 7.0.64-1 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.1 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.3 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4+esm1 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4+esm2 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4+esm3 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4+esm4 | vulnerable |
| Suse | tomcat6 | linux enterprise server 11 sp4 | 6.0.53-0.57.7.1 | fixed |
| Suse | tomcat6 | linux enterprise server for sap applications 11 sp4 | 6.0.53-0.57.7.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | tomcat9 | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | tomcat9 | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | tomcat9 | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | tomcat9 | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Ubuntu | tomcat7 | deb | 14.04 | 7.0.52-1ubuntu0.13 | Not reported | UBUNTU-CVE-2017-5664 | Not reported |
| Ubuntu | tomcat8 | deb | 16.04 | 8.0.32-1ubuntu1.5 | Not reported | UBUNTU-CVE-2017-5664 | Not reported |
| Suse | tomcat6 | rpm | linux enterprise server 11 sp4 | 6.0.53-0.57.7.1 | Not reported | SUSE-SU-2018:1847-1 | Not reported |
| Suse | tomcat6 | rpm | linux enterprise server for sap applications 11 sp4 | 6.0.53-0.57.7.1 | Not reported | SUSE-SU-2018:1847-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libtomcat9-java]Not affected
Source package: [tomcat9]
Details (2)
9.0.70-2· all · bookwormNot affected
nvd · tomcat9 · debian · bookworm
9.0.70-2· all · bookwormNot affected
nvd · tomcat9 · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2017_1809.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2017-5664]
- [https://osv.dev/vulnerability/DLA-996-1]
- [https://osv.dev/vulnerability/DSA-3891-1]
- [https://osv.dev/vulnerability/DSA-3892-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:1847-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-5664]
- [https://security-tracker.debian.org/tracker/CVE-2017-5664]
- [https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-5664.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0528.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]