GHSA-p22x-g9px-3945

Apache Tomcat may reject request containing invalid Content-Length header

En bref

Publiée
Mise à jour
CVE
CVE-2022-42252
Alias
BIT-tomcat-2022-42252
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

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.

Paquets affectés

PaquetVersions
Maven · org.apache.tomcat.embed:tomcat-embed-coreintroduced 8.5.0, fixed 8.5.83
Maven · org.apache.tomcat.embed:tomcat-embed-coreintroduced 9.0.0-M1, fixed 9.0.68
Maven · org.apache.tomcat.embed:tomcat-embed-coreintroduced 10.0.0-M1, fixed 10.0.27
Maven · org.apache.tomcat.embed:tomcat-embed-coreintroduced 10.1.0-M1, fixed 10.1.1
Maven · org.apache.tomcat:tomcat-coyoteintroduced 9.0.0-M1, fixed 9.0.68
Maven · org.apache.tomcat:tomcat-coyoteintroduced 10.0.0-M1, fixed 10.0.27
Maven · org.apache.tomcat:tomcat-coyoteintroduced 10.1.0-M1, fixed 10.1.1

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database