{"id":"UBUNTU-CVE-2022-42252","details":"If Apache Tomcat 8.5.0 to 8.5.82, 9.0.0-M1 to 9.0.67, 10.0.0-M1 to 10.0.26 or 10.1.0-M1 to 10.1.0 was configured to ignore invalid HTTP headers via setting rejectIllegalHeader to false (the default for 8.5.x only), Tomcat did not reject a request containing an invalid Content-Length header making a request smuggling attack possible if Tomcat was located behind a reverse proxy that also failed to reject the request with the invalid header.","modified":"2026-06-01T17:15:08.644239502Z","published":"2022-11-01T09:15:00Z","related":["USN-6880-1"],"upstream":["CVE-2022-42252"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-42252"},{"type":"REPORT","url":"https://lists.apache.org/thread/zzcxzvqfdqn515zfs3dxb7n8gty589sq"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/4c7f4fd09d2cc1692112ef70b8ee23a7a037ae77"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/a1c07906d8dcaf7957e5cc97f5cdbac7d18a205a"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-42252"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6880-1"}],"affected":[{"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"},{"fixed":"8.5.39-1ubuntu1~18.04.3+esm1"}]}],"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libtomcat8-embed-java","binary_version":"8.5.39-1ubuntu1~18.04.3+esm1"},{"binary_version":"8.5.39-1ubuntu1~18.04.3+esm1","binary_name":"libtomcat8-java"},{"binary_name":"tomcat8","binary_version":"8.5.39-1ubuntu1~18.04.3+esm1"},{"binary_version":"8.5.39-1ubuntu1~18.04.3+esm1","binary_name":"tomcat8-admin"},{"binary_name":"tomcat8-common","binary_version":"8.5.39-1ubuntu1~18.04.3+esm1"},{"binary_name":"tomcat8-docs","binary_version":"8.5.39-1ubuntu1~18.04.3+esm1"},{"binary_name":"tomcat8-examples","binary_version":"8.5.39-1ubuntu1~18.04.3+esm1"},{"binary_version":"8.5.39-1ubuntu1~18.04.3+esm1","binary_name":"tomcat8-user"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-42252.json"}},{"package":{"name":"tomcat9","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/tomcat9?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.16-3ubuntu0.18.04.2+esm1"}]}],"versions":["9.0.16-3~18.04.1","9.0.16-3ubuntu0.18.04.1","9.0.16-3ubuntu0.18.04.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"9.0.16-3ubuntu0.18.04.2+esm1","binary_name":"libtomcat9-embed-java"},{"binary_name":"libtomcat9-java","binary_version":"9.0.16-3ubuntu0.18.04.2+esm1"},{"binary_name":"tomcat9","binary_version":"9.0.16-3ubuntu0.18.04.2+esm1"},{"binary_name":"tomcat9-admin","binary_version":"9.0.16-3ubuntu0.18.04.2+esm1"},{"binary_version":"9.0.16-3ubuntu0.18.04.2+esm1","binary_name":"tomcat9-common"},{"binary_name":"tomcat9-docs","binary_version":"9.0.16-3ubuntu0.18.04.2+esm1"},{"binary_name":"tomcat9-examples","binary_version":"9.0.16-3ubuntu0.18.04.2+esm1"},{"binary_name":"tomcat9-user","binary_version":"9.0.16-3ubuntu0.18.04.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-42252.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.5"}]}],"versions":["9.0.24-1","9.0.27-1","9.0.31-1","9.0.31-1ubuntu0.1","9.0.31-1ubuntu0.2","9.0.31-1ubuntu0.3","9.0.31-1ubuntu0.4"],"ecosystem_specific":{"binaries":[{"binary_name":"libtomcat9-embed-java","binary_version":"9.0.31-1ubuntu0.5"},{"binary_name":"libtomcat9-java","binary_version":"9.0.31-1ubuntu0.5"},{"binary_name":"tomcat9","binary_version":"9.0.31-1ubuntu0.5"},{"binary_name":"tomcat9-admin","binary_version":"9.0.31-1ubuntu0.5"},{"binary_version":"9.0.31-1ubuntu0.5","binary_name":"tomcat9-common"},{"binary_name":"tomcat9-docs","binary_version":"9.0.31-1ubuntu0.5"},{"binary_name":"tomcat9-examples","binary_version":"9.0.31-1ubuntu0.5"},{"binary_name":"tomcat9-user","binary_version":"9.0.31-1ubuntu0.5"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-42252.json"}},{"package":{"name":"tomcat9","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/tomcat9?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.58-1ubuntu0.1+esm1"}]}],"versions":["9.0.43-3","9.0.54-1","9.0.55-1","9.0.58-1","9.0.58-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libtomcat9-embed-java","binary_version":"9.0.58-1ubuntu0.1+esm1"},{"binary_name":"libtomcat9-java","binary_version":"9.0.58-1ubuntu0.1+esm1"},{"binary_name":"tomcat9","binary_version":"9.0.58-1ubuntu0.1+esm1"},{"binary_name":"tomcat9-admin","binary_version":"9.0.58-1ubuntu0.1+esm1"},{"binary_name":"tomcat9-common","binary_version":"9.0.58-1ubuntu0.1+esm1"},{"binary_name":"tomcat9-docs","binary_version":"9.0.58-1ubuntu0.1+esm1"},{"binary_name":"tomcat9-examples","binary_version":"9.0.58-1ubuntu0.1+esm1"},{"binary_name":"tomcat9-user","binary_version":"9.0.58-1ubuntu0.1+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-42252.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:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}