CVE-2022-42252
Java vulnerability analysis and mitigation

Overview

Apache Tomcat versions 8.5.0 to 8.5.82, 9.0.0-M1 to 9.0.67, 10.0.0-M1 to 10.0.26, and 10.1.0-M1 to 10.1.0 were affected by a security vulnerability identified as CVE-2022-42252. The vulnerability was discovered and disclosed in October 2022, affecting Tomcat installations configured to ignore invalid HTTP headers. This configuration was particularly concerning as it was the default setting for version 8.5.x (CVE Mitre).

Technical details

The vulnerability stems from Tomcat's handling of invalid Content-Length headers in HTTP requests. When configured with rejectIllegalHeader set to false, the server failed to properly reject requests containing invalid Content-Length headers. The vulnerability has been assigned a CVSS 3.1 base score of 7.5 (High), with attack vector being Network, attack complexity Low, and requiring no privileges or user interaction. The scope is unchanged, with no impact on confidentiality but high impact on integrity (Ubuntu Security).

Impact

The primary security impact of this vulnerability is the possibility of request smuggling attacks when Tomcat is deployed behind a reverse proxy that also fails to reject requests with invalid headers. This could potentially lead to unauthorized access and manipulation of request handling, affecting the integrity of the web application (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Apache Tomcat versions 8.5.83, 9.0.68, and later releases. Various Linux distributions have also released security updates to address this vulnerability. For Ubuntu, fixes are available in version 9.0.58-1ubuntu0.1+esm1 for 22.04 LTS and 9.0.31-1ubuntu0.5 for 20.04 LTS. Debian has addressed this in version 9.0.43-2~deb11u11 for bullseye (Debian Security, Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65091CRITICAL10
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2025-70974CRITICAL10
  • JavaJava
  • com.alibaba:fastjson
NoYesJan 09, 2026
CVE-2026-22244HIGH8.5
  • JavaJava
  • org.open-metadata:platform
NoYesJan 08, 2026
CVE-2025-65090MEDIUM5.3
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2026-0707MEDIUM5.3
  • JavaJava
  • org.keycloak:keycloak-parent
NoNoJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management