Input validation error in HAProxy - CVE-2021-39240

 

Input validation error in HAProxy - CVE-2021-39240

Published: August 18, 2021


Vulnerability identifier: #VU55969
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-39240
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: HAProxy
Affected software:
HAProxy

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass security restrictions.

The vulnerability exists due to insufficient validation of user-supplied input when processing HTTP/2 requests. HAProxy does not ensure that the scheme and path portions of a URI have the expected characters, e.g. the authority field on a target HTTP/2 server might differ from what the routing rules were intended to achieve. A remote attacker can send specially crafted input to the application and bypass implemented security restrictions.


How to mitigate CVE-2021-39240

Install updates from vendor's website.

Sources