CVE-2022-0711: High severity HAProxy HAProxy vulnerability
A flaw was found in haproxy. Anybody who can add a "set-cookie2 X=Y" header into the return path from their server/backend will kill haproxy in 2.2 (and onwards), resulting in a denial of service.
Other sources
A flaw was found in the way HAProxy processed HTTP responses containing the "Set-Cookie2" header. This flaw could allow an attacker to send crafted HTTP response packets which lead to an infinite loop, eventually resulting in a denial of service condition. The highest threat from this vulnerability is availability.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/haproxyto a version that resolves this vulnerability.Fixed in 0:2.0.16-3.el7 - Upgrade
Upgrade
redhat/haproxyto a version that resolves this vulnerability.Fixed in 0:2.0.19-3.el7 - Upgrade
Upgrade
redhat/haproxyto a version that resolves this vulnerability.Fixed in 0:2.2.13-3.el8 - Upgrade
Upgrade
redhat/haproxyto a version that resolves this vulnerability.Fixed in 0:2.2.15-4.el8 - Upgrade
Upgrade
redhat/haproxyto a version that resolves this vulnerability.Fixed in 2.5.2 - Upgrade
Upgrade
debian/haproxyto a version that resolves this vulnerability.Fixed in 2.6.12-1+deb12u3Fixed in 2.6.12-1+deb12u4Fixed in 3.0.11-1+deb13u3Fixed in 3.0.11-1+deb13u4Fixed in 3.2.26-1 - Upgrade
Upgrade
alpine/haproxyto a version that resolves this vulnerability.Fixed in 2.2.21-r0 - Upgrade
Upgrade
debian/haproxyto a version that resolves this vulnerability.Fixed in 2.4.13-1
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the vulnerability ID of this flaw in HAProxy?
The vulnerability ID is CVE-2022-0711.
How does this vulnerability affect HAProxy?
This vulnerability can lead to a denial of service condition in HAProxy.
What is the severity of CVE-2022-0711?
The severity of CVE-2022-0711 is high with a severity value of 7.
What software versions of HAProxy are affected by this vulnerability?
HAProxy versions up to 2.5.1 are affected by this vulnerability.
How can I fix CVE-2022-0711 in HAProxy?
To fix CVE-2022-0711, update HAProxy to version 2.5.2 or later.