Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat.embed/tomcat-embed-core
  4. ›
  5. CVE-2022-42252

CVE-2022-42252: Improper Input Validation

November 1, 2022 (updated May 30, 2023)

If Apache Tomcat 8.5.0 to 8.5.52, 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 does 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

  • github.com/advisories/GHSA-p22x-g9px-3945
  • lists.apache.org/thread/zzcxzvqfdqn515zfs3dxb7n8gty589sq
  • nvd.nist.gov/vuln/detail/CVE-2022-42252

Code Behaviors & Features

Detect and mitigate CVE-2022-42252 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.5.0 before 8.5.83, all versions starting from 9.0.0 before 9.0.68, all versions starting from 10.0.0 before 10.0.27, all versions starting from 10.1.0 before 10.1.1

Fixed versions

  • 8.5.83
  • 9.0.68
  • 10.0.27
  • 10.1.1

Solution

Upgrade to versions 8.5.83, 9.0.68, 10.0.27, 10.1.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Source file

maven/org.apache.tomcat.embed/tomcat-embed-core/CVE-2022-42252.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.