CVE-2021-39241
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...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.3
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.
- Record
CVE-2021-39241- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-39241- Updated
- 2026-11-02
EUVDEUVD-2021-25603 No score
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.
- Record
EUVD-2021-25603- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6x47-wc8c-3q36 No score
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...
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.
- Record
GHSA-6x47-wc8c-3q36- Updated
- 2026-11-02
OSV
5.3
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.
- Record
CVE-2021-39241- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-39241
5.3
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.
- Record
DEBIAN-CVE-2021-39241- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
Show 7 moreShow less
OSVOESA-2021-1333
7.5
haproxy security update
HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for very high traffic web sites and powers quite a number of the world's most visited ones.
Security Fix(es):
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 does not ensure that the scheme and path portions of a URI have the expected characters. For example, the authority field (as observed on a target HTTP/2 server) might differ from what the routing rules were intended to achieve.(CVE-2021-39240)
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.(CVE-2021-39241)
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.(CVE-2021-39242)
- Record
OESA-2021-1333- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVRHSA-2021:4118
7.5
Red Hat Security Advisory: OpenShift Container Platform 4.9.6 packages and security update
- Record
RHSA-2021:4118- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVRHSA-2021:5208
7.5
Red Hat Security Advisory: OpenShift Container Platform 4.8.25 security update
- Record
RHSA-2021:5208- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVRHSA-2022:0024
7.5
Red Hat Security Advisory: OpenShift Container Platform 4.6.53 security update
- Record
RHSA-2022:0024- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVRHSA-2022:0114
7.5
Red Hat Security Advisory: OpenShift Container Platform 4.7.41 security update
- Record
RHSA-2022:0114- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-39241
5.3
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.
- Record
UBUNTU-CVE-2021-39241- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVBIT-haproxy-2021-39241 No score
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.
- Record
BIT-haproxy-2021-39241- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
haproxyBitnami |
2.0.0 up to 2.0.24, 2.2.0 up to 2.2.16, 2.3.0 up to 2.3.13, 2.4.0 up to 2.4.3 | 2.0.242.2.162.3.132.4.3 |
haproxyDebian:12 |
before 2.2.16-1 | 2.2.16-1 |
haproxyDebian:13 |
before 2.2.16-1 | 2.2.16-1 |
haproxyDebian:14 |
before 2.2.16-1 | 2.2.16-1 |
haproxyDebian:11 From an advisory covering 3 CVEs |
before 2.2.9-2+deb11u1, plus listed versions 2.2.9-22.2.9-2+deb11u1~bpo10+1 |
2.2.9-2+deb11u1 |
haproxyopenEuler:20.03-LTS-SP1 From an advisory covering 3 CVEs |
before 2.2.16-1.oe1 | 2.2.16-1.oe1 |
haproxyopenEuler:20.03-LTS-SP2 From an advisory covering 3 CVEs |
before 2.2.16-1.oe1 | 2.2.16-1.oe1 |
haproxyRed Hat:openshift:4.9::el8 From an advisory covering 4 CVEs |
before 0:2.2.15-2.el8 | 0:2.2.15-2.el8 |
haproxy-debugsourceRed Hat:openshift:4.9::el8 From an advisory covering 4 CVEs |
before 0:2.2.15-2.el8 | 0:2.2.15-2.el8 |
haproxyRed Hat:openshift:4.8::el7 From an advisory covering 4 CVEs |
before 0:2.2.13-2.el7 | 0:2.2.13-2.el7 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
haproxy-debuginfoRed Hat:openshift:4.8::el7 From an advisory covering 4 CVEs |
before 0:2.2.13-2.el7 | 0:2.2.13-2.el7 |
haproxyRed Hat:openshift:4.8::el8 From an advisory covering 4 CVEs |
before 0:2.2.13-2.el8 | 0:2.2.13-2.el8 |
haproxy-debugsourceRed Hat:openshift:4.8::el8 From an advisory covering 4 CVEs |
before 0:2.2.13-2.el8 | 0:2.2.13-2.el8 |
haproxyRed Hat:openshift:4.6::el7 From an advisory covering 2 CVEs |
before 0:2.0.16-2.el7 | 0:2.0.16-2.el7 |
haproxy-debuginfoRed Hat:openshift:4.6::el7 From an advisory covering 2 CVEs |
before 0:2.0.16-2.el7 | 0:2.0.16-2.el7 |
haproxy20Red Hat:openshift:4.6::el7 From an advisory covering 2 CVEs |
before 0:2.0.16-2.el7 | 0:2.0.16-2.el7 |
haproxyRed Hat:openshift:4.6::el8 From an advisory covering 2 CVEs |
before 0:2.0.16-4.el8 | 0:2.0.16-4.el8 |
haproxy-debugsourceRed Hat:openshift:4.6::el8 From an advisory covering 2 CVEs |
before 0:2.0.16-4.el8 | 0:2.0.16-4.el8 |
haproxy20Red Hat:openshift:4.6::el8 From an advisory covering 2 CVEs |
before 0:2.0.16-4.el8 | 0:2.0.16-4.el8 |
haproxy20-debuginfoRed Hat:openshift:4.6::el8 From an advisory covering 2 CVEs |
before 0:2.0.16-4.el8 | 0:2.0.16-4.el8 |
haproxyRed Hat:openshift:4.7::el7 From an advisory covering 2 CVEs |
before 0:2.0.19-2.el7 | 0:2.0.19-2.el7 |
haproxy-debuginfoRed Hat:openshift:4.7::el7 From an advisory covering 2 CVEs |
before 0:2.0.19-2.el7 | 0:2.0.19-2.el7 |
haproxy20Red Hat:openshift:4.7::el7 From an advisory covering 2 CVEs |
before 0:2.0.19-2.el7 | 0:2.0.19-2.el7 |
haproxyRed Hat:openshift:4.7::el8 From an advisory covering 2 CVEs |
before 0:2.0.19-2.el8 | 0:2.0.19-2.el8 |
haproxy-debugsourceRed Hat:openshift:4.7::el8 From an advisory covering 2 CVEs |
before 0:2.0.19-2.el8 | 0:2.0.19-2.el8 |
haproxy20Red Hat:openshift:4.7::el8 From an advisory covering 2 CVEs |
before 0:2.0.19-2.el8 | 0:2.0.19-2.el8 |
haproxy20-debuginfoRed Hat:openshift:4.7::el8 From an advisory covering 2 CVEs |
before 0:2.0.19-2.el8 | 0:2.0.19-2.el8 |
haproxyUbuntu:20.04:LTS |
before 2.0.13-2ubuntu0.2, plus listed versions 2.0.5-12.0.8-12.0.9-12.0.10-12.0.10-1ubuntu1 Show 5 moreShow less2.0.11-1ubuntu12.0.12-1ubuntu22.0.13-1ubuntu22.0.13-22.0.13-2ubuntu0.1 |
2.0.13-2ubuntu0.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-39241 is a medium vulnerability (CVSS 5.3) in Haproxy, published August 17, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.69%, the 77th percentile. Fixed in haproxy 2.0.24.
References
mail-archive.com/haproxy%40formilux.org/msg41041.html
git.haproxy.org?p=haproxy.git%3Ba=commit%3Bh=89265224d314a056d77d974284802c1b8a0dc97f
debian.org/security/2021/dsa-4960
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RPNY4WZIQUAUOCLIMUPC37AQWNXTWIQM
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4ALECUZDIMT5FYGP6V6PVSI4BKVZTZWN
nvd.nist.gov/vuln/detail/CVE-2021-39241
Show 36 moreShow less
git.haproxy.org?p=haproxy.git;a=commit;h=89265224d314a056d77d974284802c1b8a0dc97f
lists.fedoraproject.org/archives/list/[email protected]/message/4ALECUZDIMT5FYGP6V6PVSI4BKVZTZWN
lists.fedoraproject.org/archives/list/[email protected]/message/RPNY4WZIQUAUOCLIMUPC37AQWNXTWIQM
mail-archive.com/[email protected]/msg41041.html
github.com/advisories/GHSA-6x47-wc8c-3q36
security-tracker.debian.org/tracker/CVE-2021-39241
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1333
nvd.nist.gov/vuln/detail/CVE-2021-39240
nvd.nist.gov/vuln/detail/CVE-2021-39242
access.redhat.com/errata/RHSA-2021:4118
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1995104
bugzilla.redhat.com/show_bug.cgi?id=1995107
bugzilla.redhat.com/show_bug.cgi?id=1995112
bugzilla.redhat.com/show_bug.cgi?id=2000599
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4118.json
access.redhat.com/security/cve/CVE-2021-39240
cve.org/CVERecord?id=CVE-2021-39240
access.redhat.com/security/cve/CVE-2021-39241
cve.org/CVERecord?id=CVE-2021-39241
access.redhat.com/security/cve/CVE-2021-39242
cve.org/CVERecord?id=CVE-2021-39242
access.redhat.com/security/cve/CVE-2021-40346
cve.org/CVERecord?id=CVE-2021-40346
nvd.nist.gov/vuln/detail/CVE-2021-40346
haproxy.org/download/2.4/src/CHANGELOG
access.redhat.com/errata/RHSA-2021:5208
bugzilla.redhat.com/show_bug.cgi?id=2002703
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2021_5208.json
access.redhat.com/errata/RHSA-2022:0024
bugzilla.redhat.com/show_bug.cgi?id=2037401
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0024.json
access.redhat.com/errata/RHSA-2022:0114
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0114.json
ubuntu.com/security/CVE-2021-39241
ubuntu.com/security/notices/USN-5042-1