CVE-2021-33037
Incorrect Transfer-Encoding handling with HTTP/1.0
Also known as BIT-tomcat-2021-33037, GHSA-4vww-mc66-62m6
Mitigation
- Upgrade org.apache.tomcat:tomcat to one of 10.0.7, 9.0.48, 8.5.68 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.tomcat:tomcat (>= 10.0.0-M1, < 10.0.7)
- Anyone running Apache Software Foundation Apache Tomcat Apache Tomcat 10 10.0.0-M1 to 10.0.6; Apache Tomcat 9 9.0.0.M1 to 9.0.46; Apache Tomcat 8 8.5.0 to 8.5.66
Vulnerability facts
- Affected
- org.apache.tomcat:tomcat >= 10.0.0-M1, < 10.0.7
- Fixed in
- 10.0.7, 9.0.48, 8.5.68
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 73.85% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-444
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.tomcat:tomcat | >= 10.0.0-M1, < 10.0.7 | 10.0.7, 9.0.48, 8.5.68 | osv |
| Apache Software Foundation Apache Tomcat | Apache Tomcat 10 10.0.0-M1 to 10.0.6; Apache Tomcat 9 9.0.0.M1 to 9.0.46; Apache Tomcat 8 8.5.0 to 8.5.66 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-33037. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-33037.md Affected: org.apache.tomcat:tomcat >= 10.0.0-M1, < 10.0.7 Fixed in: 10.0.7, 9.0.48, 8.5.68 Steps: 1. Search this machine and project for org.apache.tomcat:tomcat (Maven), Apache Software Foundation Apache Tomcat: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://github.com/apache/tomcat/commit/05f9e8b00f5d9251fcd3c95dcfd6cf84177f46c8
- https://github.com/apache/tomcat/commit/19d11556d0db99df291df33605f137976d152475
- https://github.com/apache/tomcat/commit/3202703e6d635e39b74262e81f0cb4bcbe2170dc
- https://github.com/apache/tomcat/commit/45d70a86a901cbd534f8f570bed2aec9f7f7b88e
- https://github.com/apache/tomcat/commit/506134f957a4be2c5b4a9334f7b3435fc954dbc1
- https://github.com/apache/tomcat/commit/8874fa02e9b36baa9ca6b226c0882c0190ca5a02
- https://github.com/apache/tomcat/commit/a2c3dc4c96168743ac0bab613709a5bbdaec41d0
- https://github.com/apache/tomcat/commit/da0e7cb093cf68b052d9175e469dbd0464441b0b
- https://github.com/apache/tomcat/commit/eee0d024c1b3171560c92eaba79dd6eb8eb11bcd
Other
- https://lists.apache.org/thread.html/r40f921575aee8d7d34e53182f862c45cbb8f3d898c9d4e865c2ec262%40%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/re01e7e93154e8bdf78a11a23f9686427bd3d51fc6e12c508645567b7%40%3Ccommits.tomee.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2021/08/msg00009.html
- https://lists.apache.org/thread.html/rd0dfea39829bc0606c936a16f6fca338127c86c0a1083970b45ac8d2%40%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/r290aee55b72811fd19e75ac80f6143716c079170c5671b96932ed44b%40%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/rf1b54fd3f52f998ca4829159a88cc4c23d6cef5c6447d00948e75c97%40%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/rc6ef52453bb996a98cb45442871a1db56b7c349939e45d829bf9ae37%40%3Ccommits.tomee.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210827-0007/
- https://kc.mcafee.com/corporate/index?page=content&id=SB10366
- https://security.netapp.com/advisory/ntap-20210827-0007
- https://tomcat.apache.org/security-10.html
- https://tomcat.apache.org/security-8.html
- https://tomcat.apache.org/security-9.html
- https://lists.apache.org/thread/kovg1bft77xo34ksrcskh5nl50p69962
- https://lists.apache.org/thread.html/rf1b54fd3f52f998ca4829159a88cc4c23d6cef5c6447d00948e75c97@%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/re01e7e93154e8bdf78a11a23f9686427bd3d51fc6e12c508645567b7@%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/rd0dfea39829bc0606c936a16f6fca338127c86c0a1083970b45ac8d2@%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/rc6ef52453bb996a98cb45442871a1db56b7c349939e45d829bf9ae37@%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/r40f921575aee8d7d34e53182f862c45cbb8f3d898c9d4e865c2ec262@%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/r290aee55b72811fd19e75ac80f6143716c079170c5671b96932ed44b@%3Ccommits.tomee.apache.org%3E
- https://github.com/apache/tomcat
FAQ
Is CVE-2021-33037 being exploited?
There is no confirmed exploitation: CVE-2021-33037 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 73.85% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-33037?
Medium: CVSS 5.3 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2021-33037?
org.apache.tomcat:tomcat >= 10.0.0-M1, < 10.0.7.
Is there a fix for CVE-2021-33037?
Yes. Fixed in 10.0.7, 9.0.48, 8.5.68. Upgrade org.apache.tomcat:tomcat to one of 10.0.7, 9.0.48, 8.5.68 (or later in the same release line).
How do I check if I'm affected by CVE-2021-33037?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.