CVE-2021-33037
tomcat: HTTP request smuggling when used with a reverse proxy
Overview
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness: CWE-444
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | tomcat | >=8.5.0, <8.5.67>=9.0.0, <9.0.47>=10.0.0, <10.0.7 | 8.5.679.0.4710.0.7 |
| Maven | org.apache.tomcat:tomcat | >=10.0.0-M1, <10.0.7>=9.0.0-M1, <9.0.48>=8.5.0, <8.5.68 | 10.0.79.0.488.5.68 |
| Seal Maven | org.apache.tomcat.embed:tomcat-embed-core | >=9.0.39+sp0, <9.0.39+sp2 | 9.0.39+sp2 |
| Seal Maven | seal.sp1.org.apache.tomcat.embed:tomcat-embed-core | >=9.0.39, <9.0.39+sp999 | 9.0.39+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 26 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | apache-tomcat +1 | 8.5.68-1.ph4 |
Red Hat 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | opendaylight | eol | — |
| 7 | jws5-tomcat-vault +1 | 0:1.1.8-4.Final_redhat_00004.1.el7jws | RHSA-2021:4861 |
| 7 | jws5-tomcat-native | 0:1.2.30-3.redhat_3.el7jws | RHSA-2021:4861 |
| 7 | jws5-tomcat +11 | 0:9.0.50-3.redhat_00004.1.el7jws | RHSA-2021:4861 |
| 8 | jws5-tomcat-vault +1 | 0:1.1.8-4.Final_redhat_00004.1.el8jws | RHSA-2021:4861 |
| 8 | jws5-tomcat-native | 0:1.2.30-3.redhat_3.el8jws | RHSA-2021:4861 |
2 more rows
SUSE Linux Enterprise 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | javapackages-tools | 2.0.1-13.1 | SUSE-SU-2021:3602-1 |
| 12.5 | tomcat +8 | 9.0.36-3.71.1 | SUSE-SU-2021:3602-1 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | tomcat9 +7 | 1:9.0.64-1.amzn2023.0.2 |
debian 6 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | tomcat9 | 9.0.31-1~deb10u5 |
| 11 | tomcat9 | 9.0.43-2~deb11u1 |
| 12 | tomcat9 | 9.0.43-2 |
| 13 | tomcat9 | 9.0.43-2 |
| 14 | tomcat9 | 9.0.43-2 |
| 9 | tomcat8 | 8.5.54-0+deb9u7 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| tomcat9 | 9.0.43-2 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | tomcat10 +10 | 10.1.14-1.1 | openSUSE-SU-2024:13441-1 |
| Tumbleweed | tomcat +10 | 9.0.43-2.1 | openSUSE-SU-2024:11618-1 |
ubuntu 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | tomcat9 | 9.0.16-3ubuntu0.18.04.2 |
| 18.04-ESM | tomcat8 | affected |
| 18.04-ESM | tomcat9 | 9.0.16-3ubuntu0.18.04.2 |
| 20.04 | tomcat9 | 9.0.31-1ubuntu0.2 |
| 20.04-ESM | tomcat9 | 9.0.31-1ubuntu0.2 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-33037
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/05f9e8b00f5d9251fcd3c95dcfd6cf84177f46c8
- github.com https://github.com/apache/tomcat/commit/05f9e8b00f5d9251fcd3c95dcfd6cf84177f46c8 (9.0.47)
- github.com https://github.com/apache/tomcat/commit/19d11556d0db99df291df33605f137976d152475
- github.com https://github.com/apache/tomcat/commit/3202703e6d635e39b74262e81f0cb4bcbe2170dc
- github.com https://github.com/apache/tomcat/commit/3202703e6d635e39b74262e81f0cb4bcbe2170dc (8.5.67)
- github.com https://github.com/apache/tomcat/commit/45d70a86a901cbd534f8f570bed2aec9f7f7b88e
- github.com https://github.com/apache/tomcat/commit/45d70a86a901cbd534f8f570bed2aec9f7f7b88e (9.0.47)
- github.com https://github.com/apache/tomcat/commit/506134f957a4be2c5b4a9334f7b3435fc954dbc1
Show all 47 references
- github.com https://github.com/apache/tomcat/commit/8874fa02e9b36baa9ca6b226c0882c0190ca5a02
- github.com https://github.com/apache/tomcat/commit/8874fa02e9b36baa9ca6b226c0882c0190ca5a02 (8.5.67)
- github.com https://github.com/apache/tomcat/commit/a2c3dc4c96168743ac0bab613709a5bbdaec41d0
- github.com https://github.com/apache/tomcat/commit/a2c3dc4c96168743ac0bab613709a5bbdaec41d0 (9.0.47)
- github.com https://github.com/apache/tomcat/commit/da0e7cb093cf68b052d9175e469dbd0464441b0b
- github.com https://github.com/apache/tomcat/commit/da0e7cb093cf68b052d9175e469dbd0464441b0b (8.5.67)
- github.com https://github.com/apache/tomcat/commit/eee0d024c1b3171560c92eaba79dd6eb8eb11bcd
- kc.mcafee.com https://kc.mcafee.com/corporate/index?page=content&id=SB10366
- lists.apache.org https://lists.apache.org/thread.html/r290aee55b72811fd19e75ac80f6143716c079170c5671b96932ed44b%40%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r290aee55b72811fd19e75ac80f6143716c079170c5671b96932ed44b@%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r40f921575aee8d7d34e53182f862c45cbb8f3d898c9d4e865c2ec262%40%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r40f921575aee8d7d34e53182f862c45cbb8f3d898c9d4e865c2ec262@%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r612a79269b0d5e5780c62dfd34286a8037232fec0bc6f1a7e60c9381%40%3Cannounce.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rc6ef52453bb996a98cb45442871a1db56b7c349939e45d829bf9ae37%40%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rc6ef52453bb996a98cb45442871a1db56b7c349939e45d829bf9ae37@%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rd0dfea39829bc0606c936a16f6fca338127c86c0a1083970b45ac8d2%40%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rd0dfea39829bc0606c936a16f6fca338127c86c0a1083970b45ac8d2@%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/re01e7e93154e8bdf78a11a23f9686427bd3d51fc6e12c508645567b7%40%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/re01e7e93154e8bdf78a11a23f9686427bd3d51fc6e12c508645567b7@%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf1b54fd3f52f998ca4829159a88cc4c23d6cef5c6447d00948e75c97%40%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf1b54fd3f52f998ca4829159a88cc4c23d6cef5c6447d00948e75c97@%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread/kovg1bft77xo34ksrcskh5nl50p69962
- lists.debian.org https://lists.debian.org/debian-lts-announce/2021/08/msg00009.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-33037
- security.gentoo.org https://security.gentoo.org/glsa/202208-34
- security.netapp.com https://security.netapp.com/advisory/ntap-20210827-0007
- security.netapp.com https://security.netapp.com/advisory/ntap-20210827-0007/
- tomcat.apache.org https://tomcat.apache.org/security-10.html
- tomcat.apache.org https://tomcat.apache.org/security-8.html
- tomcat.apache.org https://tomcat.apache.org/security-9.html
- ubuntu.com https://ubuntu.com/security/notices/USN-5360-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-33037
- www.debian.org https://www.debian.org/security/2021/dsa-4952
- www.oracle.com https://www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujan2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuoct2021.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.