CVE-2021-39242: High severity HAProxy HAProxy vulnerability
An issue was discovered in HAProxy 2.2 before 2.2.16, 2.3 before 2.3.13, and 2.4 before 2.4.3. It can lead to a situation with an attacker-controlled HTTP Host header, because a mismatch between Host and authority is mishandled.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/haproxyto a version that resolves this vulnerability.Fixed in 1.8.19-1+deb10u3Fixed in 1.8.19-1+deb10u4Fixed in 2.2.9-2+deb11u5Fixed in 2.6.12-1Fixed in 2.6.15-1
Event History
Frequently Asked Questions
What is the vulnerability ID of this issue in HAProxy?
The vulnerability ID of this issue in HAProxy is CVE-2021-39242.
What is the severity of CVE-2021-39242?
The severity of CVE-2021-39242 is high with a CVSS score of 7.5.
How does the vulnerability in HAProxy occur?
The vulnerability in HAProxy occurs due to mishandling of a mismatch between Host and authority when an attacker-controlled HTTP Host header is present.
Which versions of HAProxy are affected by CVE-2021-39242?
HAProxy versions before 2.2.16, 2.3.13, and 2.4.3 are affected by CVE-2021-39242.
Where can I find more information about CVE-2021-39242?
More information about CVE-2021-39242 can be found at the following references: [link1](https://git.haproxy.org/?p=haproxy.git;a=commit;h=b5d2b9e154d78e4075db163826c5e0f6d31b2ab1), [link2](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4ALECUZDIMT5FYGP6V6PVSI4BKVZTZWN/), [link3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RPNY4WZIQUAUOCLIMUPC37AQWNXTWIQM/)