{"api_version":"1","generated_at":"2026-04-21T09:01:18+00:00","cve":"CVE-2021-39240","urls":{"html":"https://cve.report/CVE-2021-39240","api":"https://cve.report/api/cve/CVE-2021-39240.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-39240","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-39240"},"summary":{"title":"CVE-2021-39240","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 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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-08-17 19:15:00","updated_at":"2023-11-07 03:37:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://git.haproxy.org/?p=haproxy.git;a=commit;h=4b8852c70d8c4b7e225e24eb58258a15eb54c26e","name":"https://git.haproxy.org/?p=haproxy.git;a=commit;h=4b8852c70d8c4b7e225e24eb58258a15eb54c26e","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/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://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=4b8852c70d8c4b7e225e24eb58258a15eb54c26e","name":"https://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=4b8852c70d8c4b7e225e24eb58258a15eb54c26e","refsource":"","tags":[],"title":"Repositories - haproxy.git/commit","mime":"text/xml","httpstatus":"404","archivestatus":"200"},{"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=a495e0d94876c9d39763db319f609351907a31e8","name":"https://git.haproxy.org/?p=haproxy.git;a=commit;h=a495e0d94876c9d39763db319f609351907a31e8","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://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://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=a495e0d94876c9d39763db319f609351907a31e8","name":"https://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=a495e0d94876c9d39763db319f609351907a31e8","refsource":"","tags":[],"title":"Repositories - haproxy.git/commit","mime":"text/xml","httpstatus":"404","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-39240","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39240","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"39240","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":"39240","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":"39240","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":"39240","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-39240","qid":"184421","title":"Debian Security Update for haproxy (CVE-2021-39240)"},{"cve":"CVE-2021-39240","qid":"239873","title":"Red Hat OpenShift Container Platform 4.9 Security Update (RHSA-2021:4118)"},{"cve":"CVE-2021-39240","qid":"239987","title":"Red Hat OpenShift Container Platform 4.8 Security Update (RHSA-2021:5208)"},{"cve":"CVE-2021-39240","qid":"281856","title":"Fedora Security Update for haproxy (FEDORA-2021-3ab4512c98)"},{"cve":"CVE-2021-39240","qid":"281857","title":"Fedora Security Update for haproxy (FEDORA-2021-e6557245e8)"},{"cve":"CVE-2021-39240","qid":"356275","title":"Amazon Linux Security Advisory for haproxy2 : ALASHAPROXY2-2023-005"},{"cve":"CVE-2021-39240","qid":"356499","title":"Amazon Linux Security Advisory for haproxy2 : ALAS2HAPROXY2-2023-005"},{"cve":"CVE-2021-39240","qid":"770124","title":"Red Hat OpenShift Container Platform 4.9 Security Update (RHSA-2021:4118)"},{"cve":"CVE-2021-39240","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-39240","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 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."}]},"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=a495e0d94876c9d39763db319f609351907a31e8","refsource":"MISC","name":"https://git.haproxy.org/?p=haproxy.git;a=commit;h=a495e0d94876c9d39763db319f609351907a31e8"},{"url":"https://git.haproxy.org/?p=haproxy.git;a=commit;h=4b8852c70d8c4b7e225e24eb58258a15eb54c26e","refsource":"MISC","name":"https://git.haproxy.org/?p=haproxy.git;a=commit;h=4b8852c70d8c4b7e225e24eb58258a15eb54c26e"},{"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":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","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:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","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":"39240","Ordinal":"214919","Title":"CVE-2021-39240","CVE":"CVE-2021-39240","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"39240","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 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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"39240","Ordinal":"2","NoteData":"2021-08-17","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"39240","Ordinal":"3","NoteData":"2021-08-26","Type":"Other","Title":"Modified"}]}}}