Skip to content

CVE-2017-5664 Improper Handling of Exceptional Conditions in Apache Tomcat

HighCVSS 7.5 EPSS 16.6%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

7 packages: 3 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/tomcat6(Ubuntu Pro 14.04) = 6.0.37-1; = 6.0.39-1; = 6.0.39-1ubuntu0.1; = 6.0.39-1ubuntu0.1+esm1 +3 more No fix listed No fix yet
ubuntu/tomcat7(Ubuntu Pro 16.04) = 7.0.64-1; = 7.0.68-1; = 7.0.68-1ubuntu0.1; = 7.0.68-1ubuntu0.3 +6 more No fix listed No fix yet
org.apache.tomcat/tomcat(Maven) = 7.0.35; = 7.0.37; = 7.0.39; = 7.0.40 +90 more 7.0.78, 8.0.44, 8.5.15, 9.0.0.M21 Fixed
ubuntu/tomcat7(Ubuntu 14.04) < 7.0.52-1ubuntu0.13; = 7.0.42-1; = 7.0.47-1; = 7.0.50-1 +9 more 7.0.52-1ubuntu0.13 Fixed
ubuntu/tomcat8(Ubuntu 16.04) < 8.0.32-1ubuntu1.5; = 8.0.26-1; = 8.0.28-1; = 8.0.30-1 +6 more 8.0.32-1ubuntu1.5 Fixed
Apache Tomcat = 7.0.0 to 7.0.77; = 8.0.0.RC1 to 8.0.43; = 8.5.0 to 8.5.14; = 9.0.0.M1 to 9.0.0.M20 No fix listed Versions listed
apache tomcat = 7.0.0; = 7.0.0-beta; = 7.0.1; = 7.0.2 +157 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.apache.tomcat/tomcat(Maven) >= 9.0.0.M1, < 9.0.0.M21 9.0.0.M21
org.apache.tomcat/tomcat(Maven) = 9.0.0.M1 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M10 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M11 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M13 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M15 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M17 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M18 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M19 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M20 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M3 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M4 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M6 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M8 No fix listed
org.apache.tomcat/tomcat(Maven) = 9.0.0.M9 No fix listed
org.apache.tomcat/tomcat(Maven) >= 8.5.0, < 8.5.15 8.5.15
org.apache.tomcat/tomcat(Maven) = 8.5.0 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.5.11 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.5.12 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.5.13 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.5.14 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.5.2 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.5.3 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.5.4 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.5.5 No fix listed
Show 175 more
ProductAffected versionsFixed in
org.apache.tomcat/tomcat(Maven) = 8.5.6 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.5.8 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.5.9 No fix listed
org.apache.tomcat/tomcat(Maven) >= 8.0.0, < 8.0.44 8.0.44
org.apache.tomcat/tomcat(Maven) = 8.0.1 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.11 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.12 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.14 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.15 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.17 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.18 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.20 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.21 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.22 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.23 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.24 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.26 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.27 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.28 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.29 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.3 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.30 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.32 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.33 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.35 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.36 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.37 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.38 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.39 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.41 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.42 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.43 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.5 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.8 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.9 No fix listed
org.apache.tomcat/tomcat(Maven) >= 7.0.0, < 7.0.78 7.0.78
org.apache.tomcat/tomcat(Maven) = 7.0.35 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.37 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.39 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.40 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.41 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.42 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.47 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.50 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.52 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.53 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.54 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.55 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.56 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.57 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.59 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.61 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.62 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.63 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.64 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.65 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.67 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.68 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.69 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.70 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.72 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.73 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.75 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.76 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.77 No fix listed
org.apache.tomcat/tomcat(Maven) >= 9.0.0.M1, <= 9.0.0.M20 No fix listed
org.apache.tomcat/tomcat(Maven) >= 8.5.0, <= 8.5.14 No fix listed
org.apache.tomcat/tomcat(Maven) >= 8.0.0, <= 8.0.43 No fix listed
org.apache.tomcat/tomcat(Maven) >= 7.0.0, <= 7.0.77 No fix listed
Apache Tomcat = 9.0.0.M1 to 9.0.0.M20 No fix listed
Apache Tomcat = 8.5.0 to 8.5.14 No fix listed
Apache Tomcat = 8.0.0.RC1 to 8.0.43 No fix listed
Apache Tomcat = 7.0.0 to 7.0.77 No fix listed
apache tomcat = 7.0.0 No fix listed
apache tomcat = 7.0.0-beta No fix listed
apache tomcat = 7.0.1 No fix listed
apache tomcat = 7.0.2 No fix listed
apache tomcat = 7.0.2-beta No fix listed
apache tomcat = 7.0.3 No fix listed
apache tomcat = 7.0.4 No fix listed
apache tomcat = 7.0.4-beta No fix listed
apache tomcat = 7.0.5 No fix listed
apache tomcat = 7.0.5-beta No fix listed
apache tomcat = 7.0.6 No fix listed
apache tomcat = 7.0.7 No fix listed
apache tomcat = 7.0.8 No fix listed
apache tomcat = 7.0.9 No fix listed
apache tomcat = 7.0.10 No fix listed
apache tomcat = 7.0.11 No fix listed
apache tomcat = 7.0.12 No fix listed
apache tomcat = 7.0.13 No fix listed
apache tomcat = 7.0.14 No fix listed
apache tomcat = 7.0.15 No fix listed
apache tomcat = 7.0.16 No fix listed
apache tomcat = 7.0.17 No fix listed
apache tomcat = 7.0.18 No fix listed
apache tomcat = 7.0.19 No fix listed
apache tomcat = 7.0.20 No fix listed
apache tomcat = 7.0.21 No fix listed
apache tomcat = 7.0.22 No fix listed
apache tomcat = 7.0.23 No fix listed
apache tomcat = 7.0.24 No fix listed
apache tomcat = 7.0.25 No fix listed
apache tomcat = 7.0.26 No fix listed
apache tomcat = 7.0.27 No fix listed
apache tomcat = 7.0.28 No fix listed
apache tomcat = 7.0.29 No fix listed
apache tomcat = 7.0.30 No fix listed
apache tomcat = 7.0.31 No fix listed
apache tomcat = 7.0.32 No fix listed
apache tomcat = 7.0.33 No fix listed
apache tomcat = 7.0.34 No fix listed
apache tomcat = 7.0.35 No fix listed
apache tomcat = 7.0.36 No fix listed
apache tomcat = 7.0.37 No fix listed
apache tomcat = 7.0.38 No fix listed
apache tomcat = 7.0.39 No fix listed
apache tomcat = 7.0.40 No fix listed
apache tomcat = 7.0.41 No fix listed
apache tomcat = 7.0.42 No fix listed
apache tomcat = 7.0.43 No fix listed
apache tomcat = 7.0.44 No fix listed
apache tomcat = 7.0.45 No fix listed
apache tomcat = 7.0.46 No fix listed
apache tomcat = 7.0.47 No fix listed
apache tomcat = 7.0.48 No fix listed
apache tomcat = 7.0.49 No fix listed
apache tomcat = 7.0.50 No fix listed
apache tomcat = 7.0.51 No fix listed
apache tomcat = 7.0.54 No fix listed
apache tomcat = 7.0.55 No fix listed
apache tomcat = 7.0.56 No fix listed
apache tomcat = 7.0.57 No fix listed
apache tomcat = 7.0.58 No fix listed
apache tomcat = 7.0.59 No fix listed
apache tomcat = 7.0.60 No fix listed
apache tomcat = 7.0.61 No fix listed
apache tomcat = 7.0.62 No fix listed
apache tomcat = 7.0.63 No fix listed
apache tomcat = 7.0.64 No fix listed
apache tomcat = 7.0.65 No fix listed
apache tomcat = 7.0.66 No fix listed
apache tomcat = 7.0.67 No fix listed
apache tomcat = 7.0.68 No fix listed
apache tomcat = 7.0.69 No fix listed
apache tomcat = 7.0.70 No fix listed
apache tomcat = 7.0.71 No fix listed
apache tomcat = 7.0.72 No fix listed
apache tomcat = 7.0.73 No fix listed
apache tomcat = 7.0.74 No fix listed
apache tomcat = 7.0.75 No fix listed
apache tomcat = 7.0.76 No fix listed
apache tomcat = 7.0.77 No fix listed
apache tomcat = 8.0.0-rc1 No fix listed
apache tomcat = 8.0.0-rc10 No fix listed
apache tomcat = 8.0.0-rc3 No fix listed
apache tomcat = 8.0.0-rc5 No fix listed
apache tomcat = 8.0.1 No fix listed
apache tomcat = 8.0.2 No fix listed
apache tomcat = 8.0.3 No fix listed
apache tomcat = 8.0.4 No fix listed
apache tomcat = 8.0.5 No fix listed
apache tomcat = 8.0.6 No fix listed
apache tomcat = 8.0.7 No fix listed
apache tomcat = 8.0.9 No fix listed
apache tomcat = 8.0.10 No fix listed
apache tomcat = 8.0.11 No fix listed
apache tomcat = 8.0.12 No fix listed
apache tomcat = 8.0.13 No fix listed
apache tomcat = 8.0.14 No fix listed
apache tomcat = 8.0.15 No fix listed
apache tomcat = 8.0.16 No fix listed
apache tomcat = 8.0.17 No fix listed
apache tomcat = 8.0.18 No fix listed
apache tomcat = 8.0.19 No fix listed

References