CVE-2022-42252: 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...
High CVSS 7.5
- CVE id
- CVE-2022-42252
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Apache Tomcat Runtimes and servers |
>= 8.5.0, < 8.5.83 >= 9.0.0, < 9.0.68 >= 10.0.0, < 10.0.27 >= 10.1.0, < 10.1.1 |
8.5.83, 9.0.68, 10.0.27, 10.1.1 |
How to fix it
Upgrade Apache Tomcat to the fixed release of the line you run: 8.5.83, 9.0.68, 10.0.27, 10.1.1.
catalina.sh version
- Install the patched Tomcat release of your branch (the tomcat image tag, or your tomcat packages) and restart it.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2022-42252 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-42252
- Web: https://lists.apache.org/thread/zzcxzvqfdqn515zfs3dxb7n8gty589sq
- Web: https://security.gentoo.org/glsa/202305-37
- Web: https://lists.apache.org/thread/zzcxzvqfdqn515zfs3dxb7n8gty589sq
- Web: https://security.gentoo.org/glsa/202305-37
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.