CVE-2022-42252
JSON

7.5high

Apache Tomcat request smuggling via malformed content-length

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.68% (higher than 77% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
GHSA-p22x-g9px-3945BIT-TOMCAT-2022-42252

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

Product or packageVersionsReported by
Apache Software Foundation Apache Tomcatfrom 10.1.0-M1 up to 10.1.0, from 10.0.0-M1 up to 10.0.26, from 9.0.0-M1 up to 9.0.67, from 8.5.0 up to 8.5.82CVE List
org.apache.tomcat.embed:tomcat-embed-core (Maven)from 8.5.0 before 8.5.83, from 9.0.0-M1 before 9.0.68, from 10.0.0-M1 before 10.0.27, from 10.1.0-M1 before 10.1.1GitHub Advisory Database
org.apache.tomcat:tomcat-coyote (Maven)from 9.0.0-M1 before 9.0.68, from 10.0.0-M1 before 10.0.27, from 10.1.0-M1 before 10.1.1GitHub Advisory Database
apache tomcatfrom 8.5.0 before 8.5.83, from 9.0.0 before 9.0.68, from 10.0.0 before 10.0.27, from 10.1.0 before 10.1.1NVD
tomcat (Bitnami)from 8.5.0 before 8.5.83, from 9.0.0 before 9.0.68, from 10.0.0 before 10.0.27, from 10.1.0 before 10.1.1Bitnami Vulnerability Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-20CWE-444

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Si Apache Tomcat 8.5.0 a 8.5.82, 9.0.0-M1 a 9.0.67, 10.0.0-M1 a 10.0.26 o 10.1.0-M1 a 10.1.0 se configuró para ignorar encabezados HTTP no válidos mediante la configuración de rechazarIllegalHeader a falso (el valor predeterminado solo para 8.5.x), Tomcat no rechazó una solicitud que contenía un encabezado Content-Length no válido, lo que hace posible un ataque de contrabando de solicitudes si Tomcat estaba ubicado detrás de un proxy inverso que tampoco rechazó la solicitud con el encabezado no válido.

Bitnami Vulnerability Database

If Apache Tomcat 8.5.0 to 8.5.82, 9.0.0 to 9.0.67, 10.0.0 to 10.0.26 or 10.1.0 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.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-42252 changed 2025-05-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-p22x-g9px-3945 changed 2024-04-23CC-BY-4.0
NVDCVE-2022-42252 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-TOMCAT-2022-42252 changed 2026-09-08Apache-2.0