Vulnerabilities · 2022 · Apache
CVE-2022-42252
Apache Tomcat vulnerability
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 products
Tomcat. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Tomcat runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.apache.org/thread/zzcxzvqfdqn515zfs3dxb7n8gty589sq · Vendor Advisory
- security.gentoo.org/glsa/202305-37
- nvd.nist.gov/vuln/detail/CVE-2022-42252
- github.com/apache/tomcat/commit/0d089a15047faf9cb3c82f80f4d28febd4798920
- github.com/apache/tomcat/commit/4c7f4fd09d2cc1692112ef70b8ee23a7a037ae77
- github.com/apache/tomcat/commit/a1c07906d8dcaf7957e5cc97f5cdbac7d18a205a
- github.com/apache/tomcat/commit/c9fe754e5d17e262dfbd3eab2a03ca96ff372dc3
- tomcat.apache.org/security-10.html
- nvd.nist.gov/vuln/detail/CVE-2022-42252
- cve.org/CVERecord?id=CVE-2022-42252
More vulnerabilities in Apache products
CVE-2026-47340CVE-2026-44930CVE-2026-44618CVE-2026-44417CVE-2026-42357CVE-2026-41280CVE-2026-32967CVE-2026-32966All 2,699
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.