{"api_version":"1","generated_at":"2026-04-21T08:56:16+00:00","cve":"CVE-2021-39242","urls":{"html":"https://cve.report/CVE-2021-39242","api":"https://cve.report/api/cve/CVE-2021-39242.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-39242","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-39242"},"summary":{"title":"CVE-2021-39242","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-08-17 19:15:00","updated_at":"2023-11-07 03:37:00"},"problem_types":["CWE-755"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RPNY4WZIQUAUOCLIMUPC37AQWNXTWIQM/","name":"FEDORA-2021-e6557245e8","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: haproxy-2.3.13-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4ALECUZDIMT5FYGP6V6PVSI4BKVZTZWN/","name":"FEDORA-2021-3ab4512c98","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: haproxy-2.2.16-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.mail-archive.com/haproxy%40formilux.org/msg41041.html","name":"https://www.mail-archive.com/haproxy%40formilux.org/msg41041.html","refsource":"","tags":[],"title":"[ANNOUNCE] HTTP/2 vulnerabilities from 2.0 to 2.5-dev","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RPNY4WZIQUAUOCLIMUPC37AQWNXTWIQM/","name":"FEDORA-2021-e6557245e8","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: haproxy-2.3.13-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2021/dsa-4960","name":"DSA-4960","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-4960-1 haproxy","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://git.haproxy.org/?p=haproxy.git;a=commit;h=b5d2b9e154d78e4075db163826c5e0f6d31b2ab1","name":"https://git.haproxy.org/?p=haproxy.git;a=commit;h=b5d2b9e154d78e4075db163826c5e0f6d31b2ab1","refsource":"MISC","tags":[],"title":"Repositories - haproxy.git/commit","mime":"text/xml","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4ALECUZDIMT5FYGP6V6PVSI4BKVZTZWN/","name":"FEDORA-2021-3ab4512c98","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: haproxy-2.2.16-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=b5d2b9e154d78e4075db163826c5e0f6d31b2ab1","name":"https://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=b5d2b9e154d78e4075db163826c5e0f6d31b2ab1","refsource":"","tags":[],"title":"Repositories - haproxy.git/commit","mime":"text/xml","httpstatus":"404","archivestatus":"200"},{"url":"https://www.mail-archive.com/haproxy@formilux.org/msg41041.html","name":"https://www.mail-archive.com/haproxy@formilux.org/msg41041.html","refsource":"MISC","tags":[],"title":"[ANNOUNCE] HTTP/2 vulnerabilities from 2.0 to 2.5-dev","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-39242","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39242","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"39242","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"39242","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"39242","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"39242","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"haproxy","cpe5":"haproxy","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-39242","qid":"181961","title":"Debian Security Update for haproxy (CVE-2021-39242)"},{"cve":"CVE-2021-39242","qid":"239873","title":"Red Hat OpenShift Container Platform 4.9 Security Update (RHSA-2021:4118)"},{"cve":"CVE-2021-39242","qid":"239987","title":"Red Hat OpenShift Container Platform 4.8 Security Update (RHSA-2021:5208)"},{"cve":"CVE-2021-39242","qid":"281856","title":"Fedora Security Update for haproxy (FEDORA-2021-3ab4512c98)"},{"cve":"CVE-2021-39242","qid":"281857","title":"Fedora Security Update for haproxy (FEDORA-2021-e6557245e8)"},{"cve":"CVE-2021-39242","qid":"356275","title":"Amazon Linux Security Advisory for haproxy2 : ALASHAPROXY2-2023-005"},{"cve":"CVE-2021-39242","qid":"356499","title":"Amazon Linux Security Advisory for haproxy2 : ALAS2HAPROXY2-2023-005"},{"cve":"CVE-2021-39242","qid":"670836","title":"EulerOS Security Update for haproxy (EulerOS-SA-2021-2712)"},{"cve":"CVE-2021-39242","qid":"670973","title":"EulerOS Security Update for haproxy (EulerOS-SA-2021-2687)"},{"cve":"CVE-2021-39242","qid":"770124","title":"Red Hat OpenShift Container Platform 4.9 Security Update (RHSA-2021:4118)"},{"cve":"CVE-2021-39242","qid":"770130","title":"Red Hat OpenShift Container Platform 4.8 Security Update (RHSA-2021:5208)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-39242","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://www.mail-archive.com/haproxy@formilux.org/msg41041.html","refsource":"MISC","name":"https://www.mail-archive.com/haproxy@formilux.org/msg41041.html"},{"url":"https://git.haproxy.org/?p=haproxy.git;a=commit;h=b5d2b9e154d78e4075db163826c5e0f6d31b2ab1","refsource":"MISC","name":"https://git.haproxy.org/?p=haproxy.git;a=commit;h=b5d2b9e154d78e4075db163826c5e0f6d31b2ab1"},{"refsource":"DEBIAN","name":"DSA-4960","url":"https://www.debian.org/security/2021/dsa-4960"},{"refsource":"FEDORA","name":"FEDORA-2021-e6557245e8","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RPNY4WZIQUAUOCLIMUPC37AQWNXTWIQM/"},{"refsource":"FEDORA","name":"FEDORA-2021-3ab4512c98","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4ALECUZDIMT5FYGP6V6PVSI4BKVZTZWN/"}]}},"nvd":{"publishedDate":"2021-08-17 19:15:00","lastModifiedDate":"2023-11-07 03:37:00","problem_types":["CWE-755"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:*","versionStartIncluding":"2.4.0","versionEndExcluding":"2.4.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:*","versionStartIncluding":"2.3.0","versionEndExcluding":"2.3.13","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:*","versionStartIncluding":"2.2.0","versionEndExcluding":"2.2.16","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"39242","Ordinal":"214921","Title":"CVE-2021-39242","CVE":"CVE-2021-39242","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"39242","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"39242","Ordinal":"2","NoteData":"2021-08-17","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"39242","Ordinal":"3","NoteData":"2021-08-26","Type":"Other","Title":"Modified"}]}}}