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 package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Tomcat | from 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.82 | CVE 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.1 | GitHub 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.1 | GitHub Advisory Database |
| apache tomcat | 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.1 | NVD |
| 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.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-42252 changed 2025-05-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p22x-g9px-3945 changed 2024-04-23 | CC-BY-4.0 |
| NVD | CVE-2022-42252 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-TOMCAT-2022-42252 changed 2026-09-08 | Apache-2.0 |