CVE-2022-42252
tomcat: request smuggling
Overview
Description
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-444
Affected packages · 5
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | tomcat | >=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.839.0.6810.0.2710.1.1 |
| Maven | org.apache.tomcat:tomcat-coyote | >=9.0.0-M1, <9.0.68>=10.0.0-M1, <10.0.27>=10.1.0-M1, <10.1.1 | 9.0.6810.0.2710.1.1 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=8.5.0, <8.5.83>=9.0.0-M1, <9.0.68>=10.0.0-M1, <10.0.27>=10.1.0-M1, <10.1.1 | 8.5.839.0.6810.0.2710.1.1 |
| Seal Maven | org.apache.tomcat.embed:tomcat-embed-core | >=9.0.58+sp0, <9.0.58+sp2 | 9.0.58+sp2 |
| Seal Maven | seal.sp1.org.apache.tomcat.embed:tomcat-embed-core | >=9.0.58, <9.0.58+sp999 | 9.0.58+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 19 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | apache-tomcat +1 | 8.5.84-1.ph4 |
Red Hat 3 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | jws5-tomcat +11 | 0:9.0.62-13.redhat_00011.1.el7jws | RHSA-2023:1663 |
| 8 | jws5-tomcat +9 | 0:9.0.62-13.redhat_00011.1.el8jws | RHSA-2023:1663 |
| 9 | jws5-tomcat +9 | 0:9.0.62-13.redhat_00011.1.el9jws | RHSA-2023:1663 |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | tomcat +8 | 9.0.36-3.93.1 | SUSE-SU-2022:4303-1 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | tomcat9 +7 | 1:9.0.71-1.amzn2023.0.1 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | tomcat9 | 9.0.31-1~deb10u8 |
| 11 | tomcat9 | 9.0.43-2~deb11u6 |
| 12 | tomcat9 | 9.0.68-1 |
| 13 | tomcat9 | 9.0.68-1 |
| 14 | tomcat9 | 9.0.68-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| tomcat9 | 9.0.68-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | tomcat10 +10 | 10.1.14-1.1 | openSUSE-SU-2024:13441-1 |
| Tumbleweed | tomcat +10 | 9.0.43-11.1 | openSUSE-SU-2024:12534-1 |
ubuntu 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | tomcat8 | 8.5.39-1ubuntu1~18.04.3+esm1 |
| 18.04-ESM | tomcat9 | 9.0.16-3ubuntu0.18.04.2+esm1 |
| 20.04 | tomcat9 | 9.0.31-1ubuntu0.5 |
| 20.04-ESM | tomcat9 | 9.0.31-1ubuntu0.5 |
| 22.04 | tomcat9 | affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-42252
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/0d089a15047faf9cb3c82f80f4d28febd4798920
- github.com https://github.com/apache/tomcat/commit/4c7f4fd09d2cc1692112ef70b8ee23a7a037ae77
- github.com https://github.com/apache/tomcat/commit/4c7f4fd09d2cc1692112ef70b8ee23a7a037ae77 (9.0.68)
- github.com https://github.com/apache/tomcat/commit/a1c07906d8dcaf7957e5cc97f5cdbac7d18a205a
- github.com https://github.com/apache/tomcat/commit/a1c07906d8dcaf7957e5cc97f5cdbac7d18a205a (8.5.83)
- github.com https://github.com/apache/tomcat/commit/c9fe754e5d17e262dfbd3eab2a03ca96ff372dc3
- lists.apache.org https://lists.apache.org/thread/zzcxzvqfdqn515zfs3dxb7n8gty589sq
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-42252
Show all 16 references
- security.gentoo.org https://security.gentoo.org/glsa/202305-37
- tomcat.apache.org https://tomcat.apache.org/security-10.html
- tomcat.apache.org https://tomcat.apache.org/security-8.html
- tomcat.apache.org https://tomcat.apache.org/security-9.html
- ubuntu.com https://ubuntu.com/security/notices/USN-6880-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-42252
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.