Inconsistent interpretation of HTTP requests in Netty - CVE-2022-0552

 

Inconsistent interpretation of HTTP requests in Netty - CVE-2022-0552

Published: March 3, 2022


Vulnerability identifier: #VU60987
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-0552
CWE-ID: CWE-444
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to preform HTTP request smuggling attacks.

The vulnerability exists due to improper validation of HTTP requests in io.netty:netty-codec-http2 in Netty, if the request only uses a single Http2HeaderFrame with the endStream set to to true. A remote attacker can send a specially crafted HTTP request to the server and smuggle arbitrary HTTP headers.

Successful exploitation of vulnerability may allow an attacker to poison HTTP cache and perform phishing attacks.

Note, the vulnerability exists due to incomplete fix for #VU51837 (CVE-2021-21409).


Affected software

Netty
OpenShift Logging

How to mitigate CVE-2022-0552

Install updates from vendor's website.

Netty - update to 4.1.74
OpenShift Logging - addressed in versions 5.1.9, 5.2.8

External References

Related Security Bulletins