CVE-2021-39241: Medium severity HAProxy HAProxy vulnerability

Published Aug 17, 2021
·
Updated

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

8 affected componentsFixes available
debian/haproxy
1.8.19-1+deb10u31.8.19-1+deb10u42.2.9-2+deb11u52.6.12-12.6.15-1
HAProxy HAProxy>=2.0.0<2.0.24
HAProxy HAProxy>=2.2.0<2.2.16
HAProxy HAProxy>=2.3.0<2.3.13
HAProxy HAProxy>=2.4.0<2.4.3
Debian Debian Linux=11.0
Fedoraproject Fedora=33
Fedoraproject Fedora=34

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/haproxy to 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

Aug 17, 2021
CVE Published
via MITRE·06:33 PM
Data Sourced
via MITRE·06:33 PM
Description
Data Sourced
via NVD·07:15 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-39241?

The severity of CVE-2021-39241 is medium with a CVSS score of 5.3.

2

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.

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.

4

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.

5

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/)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203