Ubuntu CVE Tracker
UBUNTU-CVE-2021-33037
Details
Apache Tomcat 10.0.0-M1 to 10.0.6, 9.0.0.M1 to 9.0.46 and 8.5.0 to 8.5.66 did not correctly parse the HTTP transfer-encoding request header in some circumstances leading to the possibility to request smuggling when used with a reverse proxy. Specifically: - Tomcat incorrectly ignored the transfer encoding header if the client declared it would only accept an HTTP/1.0 response; - Tomcat honoured the identify encoding; and - Tomcat did not ensure that, if present, the chunked encoding was the final encoding.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | tomcat6 | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | tomcat7 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | tomcat8 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | tomcat7 | All versions, no fix listed |
| Ubuntu:18.04:LTS | tomcat9 | All versions before 9.0.16-3ubuntu0.18.04.2 (fixed in 9.0.16-3ubuntu0.18.04.2) |
| Ubuntu:Pro:18.04:LTS | tomcat8 | All versions, no fix listed |
| Ubuntu:20.04:LTS | tomcat9 | All versions before 9.0.31-1ubuntu0.2 (fixed in 9.0.31-1ubuntu0.2) |
References
- https://ubuntu.com/security/CVE-2021-33037
- https://github.com/apache/tomcat/commit/45d70a86a901cbd534f8f570bed2aec9f7f7b88e
- https://github.com/apache/tomcat/commit/05f9e8b00f5d9251fcd3c95dcfd6cf84177f46c8
- https://github.com/apache/tomcat/commit/a2c3dc4c96168743ac0bab613709a5bbdaec41d0
- https://github.com/apache/tomcat/commit/3202703e6d635e39b74262e81f0cb4bcbe2170dc
- https://github.com/apache/tomcat/commit/da0e7cb093cf68b052d9175e469dbd0464441b0b
- https://github.com/apache/tomcat/commit/8874fa02e9b36baa9ca6b226c0882c0190ca5a02
- https://lists.apache.org/thread.html/r612a79269b0d5e5780c62dfd34286a8037232fec0bc6f1a7e60c9381%40%3Cannounce.tomcat.apache.org%3E
- https://ubuntu.com/security/notices/USN-5360-1
- https://www.cve.org/CVERecord?id=CVE-2021-33037