{"schemaVersion":3,"id":"CVE-2021-39242","aliases":["DEBIAN-CVE-2021-39242"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-08-17T18:33:00.000Z","modified":"2024-08-04T02:06:40.808Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02231,"percentile":0.826,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.11000000000000003,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.02341},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02188,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02188,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02188,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02188,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02231,"percentile":0.826}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02341,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02188,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02188,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02188,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02188,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02231,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02231,"percentile":0.826}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions","description":"The product does not handle or incorrectly handles an exceptional condition.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/755.html"}],"affected":[{"vendor":"debian","product":"haproxy","name":"haproxy","label":"haproxy","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/haproxy","purlType":"deb","versions":[{"text":"< 2.2.16-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.2.16-1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.0","eol":{"isEol":true,"eolDate":"2026-08-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"11","label":"11 (Bullseye)","eolFrom":"2026-08-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"11.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"33","noFixRecorded":false,"fixedIn":null},{"text":"34","noFixRecorded":false,"fixedIn":null}],"versionsText":"33 | 34","eol":{"isEol":true,"eolDate":"2021-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"33","label":"33","eolFrom":"2021-11-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"haproxy","product":"haproxy","name":"HAProxy","label":"haproxy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.2.0, < 2.2.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.4.0, < 2.4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.2.0, < 2.2.16 | ≥ 2.3.0, < 2.3.13 | ≥ 2.4.0, < 2.4.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"haproxy","label":"HAProxy","category":"server-app"}},"hubHref":"/vendor/haproxy/haproxy"}],"affectedCount":4,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://www.mail-archive.com/haproxy%40formilux.org/msg41041.html","label":"www.mail-archive.com/haproxy%40formilux.org/msg41041.html","hostname":"www.mail-archive.com","tags":["X Refsource MISC"]},{"url":"https://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=b5d2b9e154d78e4075db163826c5e0f6d31b2ab1","label":"git.haproxy.org?p=haproxy.git%3Ba=commit%3Bh=b5d2b9e154d78e4075db163826c5e0f6d31b2ab1","hostname":"git.haproxy.org","tags":["X Refsource MISC"]},{"url":"https://www.debian.org/security/2021/dsa-4960","label":"www.debian.org/security/2021/dsa-4960","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RPNY4WZIQUAUOCLIMUPC37AQWNXTWIQM/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4ALECUZDIMT5FYGP6V6PVSI4BKVZTZWN/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-39242","label":"security-tracker.debian.org/tracker/CVE-2021-39242","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4960-1","RHSA-2021:4118","RHSA-2021:5208"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-08-17T18:33:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T02:06:40.808Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T13:50:59.361Z","stale":false,"partial":false}}