Ubuntu CVE Tracker
UBUNTU-CVE-2022-42252
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | tomcat8 | All versions before 8.5.39-1ubuntu1~18.04.3+esm1 (fixed in 8.5.39-1ubuntu1~18.04.3+esm1) |
| Ubuntu:Pro:18.04:LTS | tomcat9 | All versions before 9.0.16-3ubuntu0.18.04.2+esm1 (fixed in 9.0.16-3ubuntu0.18.04.2+esm1) |
| Ubuntu:20.04:LTS | tomcat9 | All versions before 9.0.31-1ubuntu0.5 (fixed in 9.0.31-1ubuntu0.5) |
| Ubuntu:Pro:22.04:LTS | tomcat9 | All versions before 9.0.58-1ubuntu0.1+esm1 (fixed in 9.0.58-1ubuntu0.1+esm1) |
References
- https://ubuntu.com/security/CVE-2022-42252
- https://lists.apache.org/thread/zzcxzvqfdqn515zfs3dxb7n8gty589sq
- https://github.com/apache/tomcat/commit/4c7f4fd09d2cc1692112ef70b8ee23a7a037ae77
- https://github.com/apache/tomcat/commit/a1c07906d8dcaf7957e5cc97f5cdbac7d18a205a
- https://www.cve.org/CVERecord?id=CVE-2022-42252
- https://ubuntu.com/security/notices/USN-6880-1