CVE-2021-39241: Medium severity HAProxy HAProxy vulnerability
An issue was discovered in HAProxy 2.0 before 2.0.24, 2.2 before 2.2.16, 2.3 before 2.3.13, and 2.4 before 2.4.3. An HTTP method name may contain a space followed by the name of a protected resource. It is possible that a server would interpret this as a request for that protected resource, such as in the "GET /admin? HTTP/1.1 /static/images HTTP/1.1" example.
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 severity of CVE-2021-39241?
The severity of CVE-2021-39241 is medium with a CVSS score of 5.3.
How does CVE-2021-39241 affect HAProxy?
CVE-2021-39241 affects HAProxy versions 2.0 before 2.0.24, 2.2 before 2.2.16, 2.3 before 2.3.13, and 2.4 before 2.4.3.
What is the impact of CVE-2021-39241?
An attacker can send a specially crafted request that may allow them to access protected resources.
How can I fix CVE-2021-39241?
Update HAProxy to version 2.0.24, 2.2.16, 2.3.13, or 2.4.3 to fix CVE-2021-39241.
Where can I find more information about CVE-2021-39241?
You can find more information about CVE-2021-39241 at the following references: [Reference 1](https://git.haproxy.org/?p=haproxy.git;a=commit;h=89265224d314a056d77d974284802c1b8a0dc97f), [Reference 2](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4ALECUZDIMT5FYGP6V6PVSI4BKVZTZWN/), [Reference 3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RPNY4WZIQUAUOCLIMUPC37AQWNXTWIQM/)