# CVE-2021-39242: 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.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.23%, higher than 83% of CVEs (2026-12-01)
- Published: 2021-08-17T18:33:00.000Z
- Modified: 2026-09-08T08:47:51.698Z
- Also known as: BIT-HAPROXY-2021-39242
- Weaknesses: CWE-755
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- haproxy haproxy: from 2.2.0 before 2.2.16; from 2.3.0 before 2.3.13; from 2.4.0 before 2.4.3
- debian debian_linux: 11.0
- fedoraproject fedora: 33; 34
- haproxy (Bitnami): from 2.2.0 before 2.2.16; from 2.3.0 before 2.3.13; from 2.4.0 before 2.4.3

## Every score

- NVD: 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.mail-archive.com/haproxy%40formilux.org/msg41041.html> (web)
- <https://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=b5d2b9e154d78e4075db163826c5e0f6d31b2ab1> (web)
- <https://www.debian.org/security/2021/dsa-4960> (advisory, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RPNY4WZIQUAUOCLIMUPC37AQWNXTWIQM/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4ALECUZDIMT5FYGP6V6PVSI4BKVZTZWN/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39242> (web)

## Sources

- CVE List: [CVE-2021-39242](https://www.cve.org/CVERecord?id=CVE-2021-39242), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-39242](https://nvd.nist.gov/vuln/detail/CVE-2021-39242), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-HAPROXY-2021-39242](https://osv.dev/vulnerability/BIT-HAPROXY-2021-39242), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-39242 · Whole record: https://cve.day/CVE-2021-39242.json · Rebuilt by cve.day 2026-11-25T22:58:03.284Z
