CVE-2021-33037Incorrect Transfer-Encoding handling with HTTP/1.0
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.
What to do
Likely to be exploited: EPSS gives a 74% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | tomcat9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | tomcat9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | tomcat9 | Fixed | 9.0.31-1ubuntu0.2 | UBUNTU-CVE-2021-33037 |
| Ubuntu 18.04 | tomcat8 | Fix pending | UBUNTU-CVE-2021-33037 | |
| Ubuntu 18.04 | tomcat9 | Fixed | 9.0.16-3ubuntu0.18.04.2 | UBUNTU-CVE-2021-33037 |
| Ubuntu 16.04 | tomcat6 | Fix pending | ||
| Ubuntu 16.04 | tomcat7 | Fix pending | UBUNTU-CVE-2021-33037 | |
| Ubuntu 16.04 | tomcat8 | Fix pending | UBUNTU-CVE-2021-33037 | |
| Ubuntu 14.04 | tomcat6 | Fix pending | UBUNTU-CVE-2021-33037 | |
| Ubuntu 14.04 | tomcat7 | Fix pending | UBUNTU-CVE-2021-33037 | |
| Debian 14 | tomcat9 | Fixed | 9.0.43-2 | DEBIAN-CVE-2021-33037 |
| Debian 13 | tomcat9 | Fixed | 9.0.43-2 | DEBIAN-CVE-2021-33037 |
| Debian 12 | tomcat9 | Fixed | 9.0.43-2 | DEBIAN-CVE-2021-33037 |
| Red Hat Enterprise Linux 8 | pki-servlet-4.0-api | Not affected | ||
| Red Hat Enterprise Linux 8 | pki-servlet-engine | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-admin-webapps | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-docs-webapp | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-el-2.2-api | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-javadoc | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-jsp-2.2-api | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-jsvc | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-lib | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-servlet-3.0-api | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-webapps | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6 | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-admin-webapps | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-docs-webapp | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-el-2.1-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-javadoc | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-jsp-2.1-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-lib | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-log4j | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-servlet-2.5-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-webapps | Not affected | ||
| Maven library | org.apache.tomcat:tomcat | Fixed | 9.0.48 | GHSA-4vww-mc66-62m6 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Tomcat: affected: 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
Vendor advisories:
- https://www.debian.org/security/2021/dsa-4952 (vendor-advisory)
- https://security.gentoo.org/glsa/202208-34 (vendor-advisory)
References
- https://lists.apache.org/thread.html/r612a79269b0d5e5780c62dfd34286a8037232fec0bc6f1a7e60c9381%40%3Cannounce.tomcat.apache.org%3E
- https://www.oracle.com//security-alerts/cpujul2021.html
- 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://www.debian.org/security/2021/dsa-4952
- 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://www.oracle.com/security-alerts/cpuoct2021.html
- https://security.netapp.com/advisory/ntap-20210827-0007/
- https://kc.mcafee.com/corporate/index?page=content&id=SB10366
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.