CVE-2022-42252
HIGH 7.5CVSS 3.1Apache Tomcat may reject request containing invalid Content-Length header
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.
- Published
- 1 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-20CWE-444
- Also known as
- BIT-tomcat-2022-42252GHSA-p22x-g9px-3945
- Sources
- NVDJSONOSV GHSA-p22x-g9px-3945JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 8.5.0, < 8.5.83 | 8.5.83 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.0.68 | 9.0.68 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 10.0.0, < 10.0.27 | 10.0.27 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 10.1.0, < 10.1.1 | 10.1.1 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.5.0, < 8.5.83 | 8.5.83 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.0-M1, < 9.0.68 | 9.0.68 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 10.0.0-M1, < 10.0.27 | 10.0.27 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 10.1.0-M1, < 10.1.1 | 10.1.1 |
| OSV | Maven | org.apache.tomcat:tomcat-coyote | >= 9.0.0-M1, < 9.0.68 | 9.0.68 |
| OSV | Maven | org.apache.tomcat:tomcat-coyote | >= 10.0.0-M1, < 10.0.27 | 10.0.27 |
| OSV | Maven | org.apache.tomcat:tomcat-coyote | >= 10.1.0-M1, < 10.1.1 | 10.1.1 |
References
- https://lists.apache.org/thread/zzcxzvqfdqn515zfs3dxb7n8gty589sq · Mailing List, Vendor Advisory, WEB
- https://security.gentoo.org/glsa/202305-37 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-42252 · ADVISORY
- https://github.com/apache/tomcat/commit/0d089a15047faf9cb3c82f80f4d28febd4798920 · WEB
- https://github.com/apache/tomcat/commit/4c7f4fd09d2cc1692112ef70b8ee23a7a037ae77 · WEB
- https://github.com/apache/tomcat/commit/a1c07906d8dcaf7957e5cc97f5cdbac7d18a205a · WEB
- https://github.com/apache/tomcat/commit/c9fe754e5d17e262dfbd3eab2a03ca96ff372dc3 · WEB
- https://github.com/apache/tomcat · PACKAGE
- https://tomcat.apache.org/security-10.html · WEB
- https://tomcat.apache.org/security-8.html · WEB
- https://tomcat.apache.org/security-9.html · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 1 Nov 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Nov 2022)