CVE-2021-33037 Incorrect Transfer-Encoding handling with HTTP/1.0
Attackers can perform HTTP request smuggling against Apache Tomcat when used with a reverse proxy due to incorrect Transfer-Encoding header parsing.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-33037?
CVE-2021-33037 is a medium-severity vulnerability in Apache Tomcat, published on 12 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-444
Which versions are affected by CVE-2021-33037?
7 open source packages ship an affected version, including org.apache.tomcat:tomcat and tomcat. It affects 22 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat:tomcat Maven | From 10.0.0-M1 | 10.0.7 |
org.apache.tomcat:tomcat Maven | From 10.0.0-M1 | 10.0.7 |
org.apache.tomcat:tomcat Maven | From 8.5.0 | 8.5.68 |
org.apache.tomcat:tomcat Maven | From 8.5.0 | 8.5.68 |
org.apache.tomcat:tomcat Maven | From 9.0.0-M1 | 9.0.48 |
org.apache.tomcat:tomcat Maven | From 9.0.0-M1 | 9.0.48 |
1 more packages
tomcat Bitnami | From 8.5.0 | 8.5.67, 9.0.47, 10.0.7 |
Products include Apache Tomcat, Apache Tomee, Debian Debian Linux, Mcafee Epolicy Orchestrator, Oracle Agile Product Lifecycle Management, Oracle Communications Cloud Native Core Policy and 16 more.
How do I fix CVE-2021-33037?
Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 10.0.7, 8.5.68 or 9.0.48.
Is CVE-2021-33037 being exploited?
There is no known exploitation of CVE-2021-33037 in the wild and no public exploit code.
Other vulnerabilities in Apache Tomcat
Sources
Also known as BIT-tomcat-2021-33037, DEBIAN-CVE-2021-33037, GHSA-4vww-mc66-62m6, OESA-2021-1275, UBUNTU-CVE-2021-33037.