Vulnerability in Kjd Internationalized Domain Names In Applications
CVE-2024-3651
- CVSS v3
- 7.5 High
- Public exploits
- 1 repository
- EPSS
- 0.014 · 72.7th percentile
- Published
- 2024-07-07
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.014, 72.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Kjd Internationalized Domain Names In Applications
- Kjd Kjd/idna — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- redhat-tssc-tmm/CVE-2024-3651-exploit (last pushed 2026-09-25): Simple app to demonstrate CVE-2024-3651
Also mentioned in 5 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, GitHubForSnap/matrix-commander-gael, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb (Exploit, Patch)
- github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d (Patch)
- lists.debian.org/debian-lts-announce/2024/05/msg00006.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…