Vulnerability · Published Nov 1, 2022 · Assigned by apache

CVE-2022-42252Apache Tomcat request smuggling via malformed content-length

High 7.5

In plain English

A high-severity security flaw in Apache Tomcat from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.8%top 21.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12tomcat99.0.68-1DEBIAN-CVE-2022-42252
Debian:13tomcat99.0.68-1DEBIAN-CVE-2022-42252
Debian:14tomcat99.0.68-1DEBIAN-CVE-2022-42252
Mavenorg.apache.tomcat.embed:tomcat-embed-core10.1.1GHSA-p22x-g9px-3945
Mavenorg.apache.tomcat.embed:tomcat-embed-core8.5.83GHSA-p22x-g9px-3945
Mavenorg.apache.tomcat.embed:tomcat-embed-core9.0.68GHSA-p22x-g9px-3945
Mavenorg.apache.tomcat.embed:tomcat-embed-core10.0.27GHSA-p22x-g9px-3945
Mavenorg.apache.tomcat:tomcat-coyote10.1.1GHSA-p22x-g9px-3945
Mavenorg.apache.tomcat:tomcat-coyote10.0.27GHSA-p22x-g9px-3945
Mavenorg.apache.tomcat:tomcat-coyote9.0.68GHSA-p22x-g9px-3945

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Tomcat 10.1.0-M1 – through 10.1.010.0.0-M1 – through 10.0.269.0.0-M1 – through 9.0.678.5.0 – through 8.5.82

Weakness: CWE-444 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References