CVEvulnerability
CVE-2024-3651
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-07-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.0 ([email protected])
- 6.2 MEDIUM — CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
Description
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 configurations
• kjd internationalized domain names in applications (>= 0.2 < 3.7)
Related
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d Patch
- https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb Exploit, Patch
- https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d Patch
- https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb Exploit, Patch
- https://lists.debian.org/debian-lts-announce/2024/05/msg00006.html lists.debian.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43/ lists.fedoraproject.org