CVE-2024-3651
published medium CVSS 3.0 · 6.2Denial of Service via Quadratic Complexity in kjd/idna
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| kjd | — | kjd/idnaunspecified to < 3.7 | Affected | Not stated | @huntr_ai |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2679 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2680 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2699 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2PYTHON3.8-2024-015 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-762 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | python3-idna | Advisory build | 2.5-7.el8_10 | ALSA-2024:4260 |
| Alpine Linux | edge | py3-idna | Fixed | 3.7-r0 | Package fix record |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-763 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-764 | Fixed | Not stated | Amazon Linux assessment |
| Debian | buster | python-idna | Advisory build | 2.6-1+deb10u1 | DLA-3811-1 |
| Oracle Linux | 7 | python-idnaaarch64 | Advisory build | 0:2.4-1.0.1.el7 | ELSA-2024-8365 |
| AlmaLinux | 8 | python39 | Advisory build | 3.9.19-1.module_el8.10.0+3849+a48d89aa | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-Cython | Advisory build | 0.29.21-5.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-Cython | Advisory build | 0.29.21-5.module_el8.6.0+3248+c431e88c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-PyMySQL | Advisory build | 0.10.1-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-attrs | Advisory build | 20.3.0-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-cffi | Advisory build | 1.14.3-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-cffi | Advisory build | 1.14.3-2.module_el8.6.0+3248+c431e88c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-chardet | Advisory build | 3.0.4-19.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-cryptography | Advisory build | 3.3.1-3.module_el8.10.0+3765+2f9a457d | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-debug | Advisory build | 3.9.19-1.module_el8.10.0+3849+a48d89aa | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-devel | Advisory build | 3.9.19-1.module_el8.10.0+3849+a48d89aa | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-idle | Advisory build | 3.9.19-1.module_el8.10.0+3849+a48d89aa | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-idna | Advisory build | 2.10-4.module_el8.10.0+3849+a48d89aa | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-iniconfig | Advisory build | 1.1.1-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-libs | Advisory build | 3.9.19-1.module_el8.10.0+3849+a48d89aa | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-lxml | Advisory build | 4.6.5-1.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-lxml | Advisory build | 4.6.5-1.module_el8.6.0+3248+c431e88c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-mod_wsgi | Advisory build | 4.7.1-7.module_el8.9.0+3634+fb2a896c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-more-itertools | Advisory build | 8.5.0-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-numpy | Advisory build | 1.19.4-3.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-numpy | Advisory build | 1.19.4-3.module_el8.6.0+3248+c431e88c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-numpy-doc | Advisory build | 1.19.4-3.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-numpy-f2py | Advisory build | 1.19.4-3.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-numpy-f2py | Advisory build | 1.19.4-3.module_el8.6.0+3248+c431e88c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-packaging | Advisory build | 20.4-4.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pip | Advisory build | 20.2.4-9.module_el8.10.0+3765+2f9a457d | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pip-wheel | Advisory build | 20.2.4-9.module_el8.10.0+3765+2f9a457d | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pluggy | Advisory build | 0.13.1-3.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-ply | Advisory build | 3.11-10.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-psutil | Advisory build | 5.8.0-4.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-psutil | Advisory build | 5.8.0-4.module_el8.6.0+3248+c431e88c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-psycopg2 | Advisory build | 2.8.6-3.module_el8.10.0+3765+2f9a457d | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-psycopg2-doc | Advisory build | 2.8.6-3.module_el8.10.0+3765+2f9a457d | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-psycopg2-tests | Advisory build | 2.8.6-3.module_el8.10.0+3765+2f9a457d | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-py | Advisory build | 1.10.0-1.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pybind11 | Advisory build | 2.7.1-1.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pybind11 | Advisory build | 2.7.1-1.module_el8.6.0+3248+c431e88c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pybind11-devel | Advisory build | 2.7.1-1.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pybind11-devel | Advisory build | 2.7.1-1.module_el8.6.0+3248+c431e88c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pycparser | Advisory build | 2.20-3.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pyparsing | Advisory build | 2.4.7-5.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pysocks | Advisory build | 1.7.1-4.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pytest | Advisory build | 6.0.2-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pyyaml | Advisory build | 5.4.1-1.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-pyyaml | Advisory build | 5.4.1-1.module_el8.6.0+3248+c431e88c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-requests | Advisory build | 2.25.0-3.module_el8.9.0+3634+fb2a896c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-rpm-macros | Advisory build | 3.9.19-1.module_el8.10.0+3849+a48d89aa | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-scipy | Advisory build | 1.5.4-5.module_el8.9.0+3634+fb2a896c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-setuptools | Advisory build | 50.3.2-5.module_el8.10.0+3765+2f9a457d | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-setuptools-wheel | Advisory build | 50.3.2-5.module_el8.10.0+3765+2f9a457d | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-six | Advisory build | 1.15.0-3.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-test | Advisory build | 3.9.19-1.module_el8.10.0+3849+a48d89aa | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-tkinter | Advisory build | 3.9.19-1.module_el8.10.0+3849+a48d89aa | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-toml | Advisory build | 0.10.1-5.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-urllib3 | Advisory build | 1.25.10-5.module_el8.10.0+3765+2f9a457d | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-wcwidth | Advisory build | 0.2.5-3.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-wheel | Advisory build | 1:0.35.1-4.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-wheel-wheel | Advisory build | 1:0.35.1-4.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 9 | python3-idna | Advisory build | 2.10-7.el9_4.1 | ALSA-2024:3846 |
| Alpine Linux | v3.19 | py3-idna | Fixed | 3.7-r0 | Package fix record |
| Alpine Linux | v3.20 | py3-idna | Fixed | 3.7-r0 | Package fix record |
| Alpine Linux | v3.21 | py3-idna | Fixed | 3.7-r0 | Package fix record |
| Alpine Linux | v3.22 | py3-idna | Fixed | 3.7-r0 | Package fix record |
| Alpine Linux | v3.23 | py3-idna | Fixed | 3.7-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-idna | Fixed | 3.7-r0 | Package fix record |
| Oracle Linux | 7 | python-idnax86_64 | Advisory build | 0:2.4-1.0.1.el7 | ELSA-2024-8365 |
| Oracle Linux | 8 | python3-idnaaarch64 | Advisory build | 0:2.5-7.el8_10 | ELSA-2024-4260 |
| Oracle Linux | 8 | python3-idnax86_64 | Advisory build | 0:2.5-7.el8_10 | ELSA-2024-4260 |
| Oracle Linux | 8 | python39aarch64 · python39 · 3.9b | Advisory build | 0:3.9.19-1.module+el8.10.0+90341+71ca88f4 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39x86_64 · python39 · 3.9b | Advisory build | 0:3.9.19-1.module+el8.10.0+90341+71ca88f4 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-PyMySQLaarch64 · python39 · 3.9b | Advisory build | 0:0.10.1-2.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-PyMySQLx86_64 · python39 · 3.9b | Advisory build | 0:0.10.1-2.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-cffiaarch64 · python39 · 3.9b | Advisory build | 0:1.14.3-2.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-cffix86_64 · python39 · 3.9b | Advisory build | 0:1.14.3-2.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-chardetaarch64 · python39 · 3.9b | Advisory build | 0:3.0.4-19.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-chardetx86_64 · python39 · 3.9b | Advisory build | 0:3.0.4-19.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-cryptographyaarch64 · python39 · 3.9b | Advisory build | 0:3.3.1-3.0.1.module+el8.10.0+90269+2fa22b99 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-cryptographyx86_64 · python39 · 3.9b | Advisory build | 0:3.3.1-3.0.1.module+el8.10.0+90269+2fa22b99 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-debugaarch64 · python39-devel · 3.9b | Advisory build | 0:3.9.19-1.module+el8.10.0+90341+71ca88f4 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-debugx86_64 · python39-devel · 3.9b | Advisory build | 0:3.9.19-1.module+el8.10.0+90341+71ca88f4 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-develaarch64 · python39 · 3.9b | Advisory build | 0:3.9.19-1.module+el8.10.0+90341+71ca88f4 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-develx86_64 · python39 · 3.9b | Advisory build | 0:3.9.19-1.module+el8.10.0+90341+71ca88f4 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-idleaarch64 · python39 · 3.9b | Advisory build | 0:3.9.19-1.module+el8.10.0+90341+71ca88f4 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-idlex86_64 · python39 · 3.9b | Advisory build | 0:3.9.19-1.module+el8.10.0+90341+71ca88f4 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-idnaaarch64 · python39 · 3.9b | Advisory build | 0:2.10-4.module+el8.10.0+90341+71ca88f4 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-idnax86_64 · python39 · 3.9b | Advisory build | 0:2.10-4.module+el8.10.0+90341+71ca88f4 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-libsaarch64 · python39 · 3.9b | Advisory build | 0:3.9.19-1.module+el8.10.0+90341+71ca88f4 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-libsx86_64 · python39 · 3.9b | Advisory build | 0:3.9.19-1.module+el8.10.0+90341+71ca88f4 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-lxmlaarch64 · python39 · 3.9b | Advisory build | 0:4.6.5-1.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-lxmlx86_64 · python39 · 3.9b | Advisory build | 0:4.6.5-1.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-mod_wsgiaarch64 · python39 · 3.9b | Advisory build | 0:4.7.1-7.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-mod_wsgix86_64 · python39 · 3.9b | Advisory build | 0:4.7.1-7.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-numpyaarch64 · python39 · 3.9b | Advisory build | 0:1.19.4-3.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-numpyx86_64 · python39 · 3.9b | Advisory build | 0:1.19.4-3.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-numpy-docaarch64 · python39 · 3.9b | Advisory build | 0:1.19.4-3.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
| Oracle Linux | 8 | python39-numpy-docx86_64 · python39 · 3.9b | Advisory build | 0:1.19.4-3.module+el8.9.0+90016+9c2d6573 | ELSA-2024-3466 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| kjd | kjd/idna | unspecified to < 3.7 (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-1333 CWE-1333 Inefficient Regular Expression Complexity
References
7- https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d
- https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb
- https://lists.debian.org/debian-lts-announce/2024/05/msg00006.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43/
Provider assertions
3@huntr_ai · cna
Denial of Service via Quadratic Complexity in kjd/idna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e700671ab816239d60764a4c4b28927b61c916c1a7487db213178582ac17487a
- Ingested
- 23 Sep 2026, 08:25:48 UTC
- Source record
- Official CVE record