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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tomcat9 | 9.0.68-1 | DEBIAN-CVE-2022-42252 |
| Debian:13 | tomcat9 | 9.0.68-1 | DEBIAN-CVE-2022-42252 |
| Debian:14 | tomcat9 | 9.0.68-1 | DEBIAN-CVE-2022-42252 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 10.1.1 | GHSA-p22x-g9px-3945 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 8.5.83 | GHSA-p22x-g9px-3945 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 9.0.68 | GHSA-p22x-g9px-3945 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 10.0.27 | GHSA-p22x-g9px-3945 |
| Maven | org.apache.tomcat:tomcat-coyote | 10.1.1 | GHSA-p22x-g9px-3945 |
| Maven | org.apache.tomcat:tomcat-coyote | 10.0.27 | GHSA-p22x-g9px-3945 |
| Maven | org.apache.tomcat:tomcat-coyote | 9.0.68 | GHSA-p22x-g9px-3945 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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