Skip to content
OpenAdvisories
Medium · 5.3 CVE-2021-33037 BIT-tomcat-2021-33037EUVD-2021-1563GHSA-4vww-mc66-62m6

Incorrect Transfer-Encoding handling with HTTP/1.0

Published Jul 12, 2021 · Updated Oct 8, 2026 · Assigned by apache

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 products

VendorProductAffectedFixed
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 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tomcat9 9.0.43-2 —
Debian 13 tomcat9 9.0.43-2 —
Debian 12 tomcat9 9.0.43-2 —
Debian 10 tomcat9 9.0.31-1~deb10u5 DSA-4952-1
Debian 9 tomcat8 8.5.54-0+deb9u7 DLA-2733-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS tomcat9 9.0.31-1ubuntu0.2 USN-5360-1
Ubuntu 18.04 LTS tomcat9 9.0.16-3ubuntu0.18.04.2 USN-5360-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS tomcat8 No fix yet —
Ubuntu Pro 16.04 LTS tomcat7 +1 No fix yet —
Ubuntu Pro 14.04 LTS tomcat6 +1 No fix yet —
ReleasePackageFixed inAdvisory
Red Hat JBoss Web Server 5 jws5-tomcat +11 9.0.50-3.redhat_00004.1.el7jws RHSA-2021:4861
Red Hat JBoss Web Server 5 jws5-tomcat-native 1.2.30-3.redhat_3.el7jws RHSA-2021:4861
Red Hat JBoss Web Server 5 jws5-tomcat-vault +1 1.1.8-4.Final_redhat_00004.1.el7jws RHSA-2021:4861
ReleasePackageFixed inAdvisory
SLES 15 SP3 tomcat 9.0.36-13.1 SUSE-SU-2021:3672-1
SLES 15 SP2 tomcat 9.0.36-13.1 SUSE-SU-2021:3672-1
SLES 15 SP1 tomcat 9.0.36-4.63.1 SUSE-SU-2021:3669-1
SLES 15 tomcat 9.0.36-3.84.1 SUSE-SU-2021:3670-1
SLES 12 SP5 javapackages-tools 2.0.1-13.1 SUSE-SU-2021:3602-1
SLES 12 SP5 tomcat 9.0.36-3.71.1 SUSE-SU-2026:1058-1, SUSE-SU-2021:3602-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 javapackages-tools 2.0.1-13.1 SUSE-SU-2021:3602-1
SLES 12 SP4 tomcat 9.0.36-3.71.1 SUSE-SU-2021:3602-1
SLES for SAP 15 SP1 tomcat 9.0.36-4.63.1 SUSE-SU-2021:3669-1
SLES for SAP 15 tomcat 9.0.36-3.84.1 SUSE-SU-2021:3670-1
SLES for SAP 12 SP5 javapackages-tools 2.0.1-13.1 SUSE-SU-2021:3602-1
SLES for SAP 12 SP5 tomcat 9.0.36-3.71.1 SUSE-SU-2021:3602-1
SLES for SAP 12 SP4 javapackages-tools 2.0.1-13.1 SUSE-SU-2021:3602-1
SLES for SAP 12 SP4 tomcat 9.0.36-3.71.1 SUSE-SU-2021:3602-1
SLE HPC 15 SP1 tomcat 9.0.36-4.63.1 SUSE-SU-2021:3669-1
SLE HPC 15 tomcat 9.0.36-3.84.1 SUSE-SU-2021:3670-1
SUSE OpenStack Cloud Crowbar 9 javapackages-tools 2.0.1-13.1 SUSE-SU-2021:3602-1
SUSE OpenStack Cloud Crowbar 9 tomcat 9.0.36-3.71.1 SUSE-SU-2021:3602-1
SUSE OpenStack Cloud 9 javapackages-tools 2.0.1-13.1 SUSE-SU-2021:3602-1
SUSE OpenStack Cloud 9 tomcat 9.0.36-3.71.1 SUSE-SU-2021:3602-1
SUSE Enterprise Storage 6 tomcat 9.0.36-4.63.1 SUSE-SU-2021:3669-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tomcat 9.0.43-2.1 openSUSE-SU-2024:11618-1
openSUSE Tumbleweed tomcat10 10.1.14-1.1 openSUSE-SU-2024:13441-1
openSUSE Leap 15.3 tomcat 9.0.36-13.1 openSUSE-SU-2021:3672-1
openSUSE Leap 15.2 tomcat 9.0.36-lp152.2.25.1 openSUSE-SU-2021:1490-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 tomcat9 +7 1:9.0.64-1.amzn2023.0.2 ALAS2023-2023-059

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat:tomcat >= 10.0.0-M1, < 10.0.7 10.0.7 GHSA-4vww-mc66-62m6
Maven org.apache.tomcat:tomcat >= 9.0.0-M1, < 9.0.48 9.0.48 GHSA-4vww-mc66-62m6
Maven org.apache.tomcat:tomcat >= 8.5.0, < 8.5.68 8.5.68 GHSA-4vww-mc66-62m6

Advisories 21

References