CVE-2024-3651Kjd Internationalized Domain Names In Applications
High 7.5 No auth needed
Follow: this CVE · Kjd · Kjd Internationalized Domain Names In Applications We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Jul 7, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Internationalized Domain Names In Applications.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | idna |
< 3.7 |
3.7 |
pip install "idna>=3.7" |
| PyPI | idna |
≥ 0.1 < 3.7 |
3.7 |
pip install "idna>=3.7" |
Per OSV / GitHub Advisories (GHSA-jjg7-2v4v-x38h, PYSEC-2024-60). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kjd | internationalized_domain_names_in_applications | ≥ 0.2 < 3.7 |
Official advisories
- python313-idna-3.19-1.1 on GA media · SUSE · openSUSE-SU-2026:11711-1 · Sep 7, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.