{"schema_version":"1.9.0","id":"CVE-2024-3651","published":"2024-07-07T17:22:10.032Z","modified":"2026-09-08T12:39:14.237711128Z","aliases":["GHSA-jjg7-2v4v-x38h","PYSEC-2024-60"],"related":["ALSA-2024:3466","ALSA-2024:3846","ALSA-2024:4260","RLSA-2024:3466","SUSE-EL-9-CLIENT-TOOLS-2024-4029","SUSE-SU-2024:1428-1","SUSE-SU-2024:1439-1","SUSE-SU-2024:1439-2","SUSE-SU-2024:1939-1","SUSE-SU-2024:4020-1","SUSE-SU-2024:4021-1","SUSE-SU-2024:4029-1","openSUSE-SU-2024:13874-1","openSUSE-SU-2026:11711-1"],"summary":"Denial of Service via Quadratic Complexity in kjd/idna","details":"A vulnerability was identified in the kjd/idna library, specifically within the `idna.encode()` function, affecting version 3.6. The issue arises from the function's handling of crafted input strings, which can lead to quadratic complexity and consequently, a denial of service condition. This vulnerability is triggered by a crafted input that causes the `idna.encode()` function to process the input with considerable computational load, significantly increasing the processing time in a quadratic manner relative to the input size.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kjd/idna","events":[{"introduced":"001644567c3f1e1c7e62cfff806be7dad1be8cd3"},{"fixed":"1d365e17e10d72d0b7876316fc7b9ca0eebdd38d"}],"database_specific":{"cpe":"cpe:2.3:a:kjd:internationalized_domain_names_in_applications:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.7"},{"introduced":"0.2"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"]}}],"versions":["v3.3","v3.2","v3.1","v3.0","v2.10","v2.9","v2.8","v2.7","v2.6","v2.5","v2.4","v2.3","v2.2","v2.1","v2.0","v1.1","v1.0","v0.9","v0.8","v0.7","v0.6","v0.5","v0.4","v0.3","v0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3651.json"}}],"references":[{"type":"WEB","url":"https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00006.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3651.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3651"},{"type":"FIX","url":"https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d"}],"database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-1333"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3651.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}