{"id":"UBUNTU-CVE-2021-33037","details":"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.","modified":"2026-07-15T19:45:13.012312099Z","published":"2021-07-12T15:15:00Z","related":["USN-5360-1"],"upstream":["CVE-2021-33037"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-33037"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/45d70a86a901cbd534f8f570bed2aec9f7f7b88e"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/05f9e8b00f5d9251fcd3c95dcfd6cf84177f46c8"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/a2c3dc4c96168743ac0bab613709a5bbdaec41d0"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/3202703e6d635e39b74262e81f0cb4bcbe2170dc"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/da0e7cb093cf68b052d9175e469dbd0464441b0b"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/8874fa02e9b36baa9ca6b226c0882c0190ca5a02"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r612a79269b0d5e5780c62dfd34286a8037232fec0bc6f1a7e60c9381%40%3Cannounce.tomcat.apache.org%3E"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5360-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-33037"}],"affected":[{"package":{"name":"tomcat6","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/tomcat6?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.37-1","6.0.39-1","6.0.39-1ubuntu0.1","6.0.39-1ubuntu0.1+esm1","6.0.39-1ubuntu0.1+esm2","6.0.39-1ubuntu0.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"libservlet2.4-java","binary_version":"6.0.39-1ubuntu0.1+esm3"},{"binary_name":"libservlet2.5-java","binary_version":"6.0.39-1ubuntu0.1+esm3"},{"binary_name":"libtomcat6-java","binary_version":"6.0.39-1ubuntu0.1+esm3"},{"binary_name":"tomcat6","binary_version":"6.0.39-1ubuntu0.1+esm3"},{"binary_name":"tomcat6-admin","binary_version":"6.0.39-1ubuntu0.1+esm3"},{"binary_name":"tomcat6-common","binary_version":"6.0.39-1ubuntu0.1+esm3"},{"binary_name":"tomcat6-docs","binary_version":"6.0.39-1ubuntu0.1+esm3"},{"binary_name":"tomcat6-examples","binary_version":"6.0.39-1ubuntu0.1+esm3"},{"binary_version":"6.0.39-1ubuntu0.1+esm3","binary_name":"tomcat6-extras"},{"binary_version":"6.0.39-1ubuntu0.1+esm3","binary_name":"tomcat6-user"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33037.json"}},{"package":{"name":"tomcat7","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/tomcat7?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.0.42-1","7.0.47-1","7.0.50-1","7.0.52-1","7.0.52-1ubuntu0.1","7.0.52-1ubuntu0.3","7.0.52-1ubuntu0.6","7.0.52-1ubuntu0.7","7.0.52-1ubuntu0.8","7.0.52-1ubuntu0.9","7.0.52-1ubuntu0.10","7.0.52-1ubuntu0.11","7.0.52-1ubuntu0.13","7.0.52-1ubuntu0.14","7.0.52-1ubuntu0.15","7.0.52-1ubuntu0.16","7.0.52-1ubuntu0.16+esm1","7.0.52-1ubuntu0.16+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libservlet3.0-java","binary_version":"7.0.52-1ubuntu0.16+esm2"},{"binary_version":"7.0.52-1ubuntu0.16+esm2","binary_name":"libtomcat7-java"},{"binary_name":"tomcat7","binary_version":"7.0.52-1ubuntu0.16+esm2"},{"binary_version":"7.0.52-1ubuntu0.16+esm2","binary_name":"tomcat7-admin"},{"binary_version":"7.0.52-1ubuntu0.16+esm2","binary_name":"tomcat7-common"},{"binary_name":"tomcat7-docs","binary_version":"7.0.52-1ubuntu0.16+esm2"},{"binary_name":"tomcat7-examples","binary_version":"7.0.52-1ubuntu0.16+esm2"},{"binary_name":"tomcat7-user","binary_version":"7.0.52-1ubuntu0.16+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33037.json"}},{"package":{"name":"tomcat8","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/tomcat8?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.0.26-1","8.0.28-1","8.0.30-1","8.0.32-1","8.0.32-1ubuntu1","8.0.32-1ubuntu1.1","8.0.32-1ubuntu1.2","8.0.32-1ubuntu1.3","8.0.32-1ubuntu1.4","8.0.32-1ubuntu1.5","8.0.32-1ubuntu1.6","8.0.32-1ubuntu1.7","8.0.32-1ubuntu1.8","8.0.32-1ubuntu1.9","8.0.32-1ubuntu1.10","8.0.32-1ubuntu1.11","8.0.32-1ubuntu1.13","8.0.32-1ubuntu1.13+esm1","8.0.32-1ubuntu1.13+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"8.0.32-1ubuntu1.13+esm2","binary_name":"libservlet3.1-java"},{"binary_name":"libtomcat8-java","binary_version":"8.0.32-1ubuntu1.13+esm2"},{"binary_version":"8.0.32-1ubuntu1.13+esm2","binary_name":"tomcat8"},{"binary_name":"tomcat8-admin","binary_version":"8.0.32-1ubuntu1.13+esm2"},{"binary_name":"tomcat8-common","binary_version":"8.0.32-1ubuntu1.13+esm2"},{"binary_name":"tomcat8-docs","binary_version":"8.0.32-1ubuntu1.13+esm2"},{"binary_name":"tomcat8-examples","binary_version":"8.0.32-1ubuntu1.13+esm2"},{"binary_version":"8.0.32-1ubuntu1.13+esm2","binary_name":"tomcat8-user"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33037.json"}},{"package":{"name":"tomcat7","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/tomcat7?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.0.64-1","7.0.68-1","7.0.68-1ubuntu0.1","7.0.68-1ubuntu0.3","7.0.68-1ubuntu0.4","7.0.68-1ubuntu0.4+esm1","7.0.68-1ubuntu0.4+esm2","7.0.68-1ubuntu0.4+esm3","7.0.68-1ubuntu0.4+esm4"],"ecosystem_specific":{"binaries":[{"binary_version":"7.0.68-1ubuntu0.4+esm4","binary_name":"libservlet3.0-java"},{"binary_name":"libtomcat7-java","binary_version":"7.0.68-1ubuntu0.4+esm4"},{"binary_name":"tomcat7","binary_version":"7.0.68-1ubuntu0.4+esm4"},{"binary_name":"tomcat7-admin","binary_version":"7.0.68-1ubuntu0.4+esm4"},{"binary_version":"7.0.68-1ubuntu0.4+esm4","binary_name":"tomcat7-common"},{"binary_name":"tomcat7-docs","binary_version":"7.0.68-1ubuntu0.4+esm4"},{"binary_name":"tomcat7-examples","binary_version":"7.0.68-1ubuntu0.4+esm4"},{"binary_version":"7.0.68-1ubuntu0.4+esm4","binary_name":"tomcat7-user"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33037.json"}},{"package":{"name":"tomcat9","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/tomcat9?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.16-3ubuntu0.18.04.2"}]}],"versions":["9.0.16-3~18.04.1","9.0.16-3ubuntu0.18.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libtomcat9-embed-java","binary_version":"9.0.16-3ubuntu0.18.04.2"},{"binary_version":"9.0.16-3ubuntu0.18.04.2","binary_name":"libtomcat9-java"},{"binary_version":"9.0.16-3ubuntu0.18.04.2","binary_name":"tomcat9"},{"binary_name":"tomcat9-admin","binary_version":"9.0.16-3ubuntu0.18.04.2"},{"binary_version":"9.0.16-3ubuntu0.18.04.2","binary_name":"tomcat9-common"},{"binary_version":"9.0.16-3ubuntu0.18.04.2","binary_name":"tomcat9-docs"},{"binary_name":"tomcat9-examples","binary_version":"9.0.16-3ubuntu0.18.04.2"},{"binary_name":"tomcat9-user","binary_version":"9.0.16-3ubuntu0.18.04.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33037.json"}},{"package":{"name":"tomcat8","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/tomcat8?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.5.21-1ubuntu1","8.5.29-1","8.5.30-1","8.5.30-1ubuntu1","8.5.30-1ubuntu1.2","8.5.30-1ubuntu1.3","8.5.30-1ubuntu1.4","8.5.39-1ubuntu1~18.04.1","8.5.39-1ubuntu1~18.04.2","8.5.39-1ubuntu1~18.04.3","8.5.39-1ubuntu1~18.04.3+esm1","8.5.39-1ubuntu1~18.04.3+esm2","8.5.39-1ubuntu1~18.04.3+esm3","8.5.39-1ubuntu1~18.04.3+esm4","8.5.39-1ubuntu1~18.04.3+esm5","8.5.39-1ubuntu1~18.04.3+esm6"],"ecosystem_specific":{"binaries":[{"binary_name":"libtomcat8-embed-java","binary_version":"8.5.39-1ubuntu1~18.04.3+esm6"},{"binary_version":"8.5.39-1ubuntu1~18.04.3+esm6","binary_name":"libtomcat8-java"},{"binary_name":"tomcat8","binary_version":"8.5.39-1ubuntu1~18.04.3+esm6"},{"binary_name":"tomcat8-admin","binary_version":"8.5.39-1ubuntu1~18.04.3+esm6"},{"binary_name":"tomcat8-common","binary_version":"8.5.39-1ubuntu1~18.04.3+esm6"},{"binary_name":"tomcat8-docs","binary_version":"8.5.39-1ubuntu1~18.04.3+esm6"},{"binary_name":"tomcat8-examples","binary_version":"8.5.39-1ubuntu1~18.04.3+esm6"},{"binary_version":"8.5.39-1ubuntu1~18.04.3+esm6","binary_name":"tomcat8-user"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33037.json"}},{"package":{"name":"tomcat9","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/tomcat9?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.31-1ubuntu0.2"}]}],"versions":["9.0.24-1","9.0.27-1","9.0.31-1","9.0.31-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"9.0.31-1ubuntu0.2","binary_name":"libtomcat9-embed-java"},{"binary_version":"9.0.31-1ubuntu0.2","binary_name":"libtomcat9-java"},{"binary_version":"9.0.31-1ubuntu0.2","binary_name":"tomcat9"},{"binary_version":"9.0.31-1ubuntu0.2","binary_name":"tomcat9-admin"},{"binary_name":"tomcat9-common","binary_version":"9.0.31-1ubuntu0.2"},{"binary_name":"tomcat9-docs","binary_version":"9.0.31-1ubuntu0.2"},{"binary_version":"9.0.31-1ubuntu0.2","binary_name":"tomcat9-examples"},{"binary_name":"tomcat9-user","binary_version":"9.0.31-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33037.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}