HIGH 7.5

CVE-2022-42252

Apache Tomcat may reject request containing invalid Content-Length header

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 Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.tomcat » tomcat-coyote
>= 9.0.0-M1, < 9.0.68>= 10.0.0-M1, < 10.0.27>= 10.1.0-M1, < 10.1.1
9.0.68, 10.0.27, 10.1.1
org.apache.tomcat.embed » tomcat-embed-core
>= 8.5.0, < 8.5.83>= 9.0.0-M1, < 9.0.68>= 10.0.0-M1, < 10.0.27>= 10.1.0-M1, < 10.1.1
8.5.83, 9.0.68, 10.0.27, 10.1.1

Blast radius

2affected artifacts
334affected versions
19,086dependent artifacts (est.)
913,501dependent versions

60% of the dependent artifacts (11,615) still pull an affected version in their latest release.

DepthDependent versions
Direct
10,891
2 hops
41,378
3 hops
396,797
4 hops
278,884
5 hops
150,999
6 hops
34,552

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.