CVE-2024-3651: Denial of Service via Quadratic Complexity in kjd/idna
Vulnerability summary
CVE-2024-3651 is a high (CVSS 7.5) vulnerability in kjd internationalized_domain_names_in_applications. EPSS estimates a 1.39% chance of exploitation in the next 30 days, higher than 72.2% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 28Timeline
- 07-07-2024PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
11 scores · 9 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.2MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated6.2MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated6.2MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.2MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.39%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.39% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard71 products
- az< 2.60.0-r0
- az-iamguarded-compat< 2.60.0-r0
- checkov< 3.0.34-r1
- confluent-docker-utils< 0.0.76-r0
- dask-gateway< 2024.1.0-r4
Wolfi65 products
- az< 2.60.0-r0
- az-iamguarded-compat< 2.60.0-r0
- checkov< 3.0.34-r1
- confluent-docker-utils< 0.0.76-r0
- dask-gateway< 2024.1.0-r4
Suse12 products
- python-idna&distro=SUSE Linux Enterprise Micro 5.1< 2.6-150000.3.3.1
- python-idna&distro=SUSE Linux Enterprise Micro 5.2< 2.6-150000.3.3.1
- python-idna&distro=SUSE Linux Enterprise Micro 5.3< 2.6-150000.3.3.1
- python-idna&distro=SUSE Linux Enterprise Micro 5.4< 2.6-150000.3.3.1
- python-idna&distro=SUSE Linux Enterprise Micro 5.5< 2.6-150000.3.3.1
Opensuse5 products
- python-idna&distro=openSUSE Leap 15.5< 3.4-150400.11.10.1 | < 2.6-150000.3.3.1
- python-idna&distro=openSUSE Leap 15.6< 3.4-150400.11.10.1
- python-idna&distro=openSUSE Leap Micro 5.3< 2.6-150000.3.3.1
- python-idna&distro=openSUSE Leap Micro 5.4< 2.6-150000.3.3.1
- python-idna&distro=openSUSE Tumbleweed< 3.7-1.1 | < 3.19-1.1
Kjd2 products
- internationalized_domain_names_in_applications≥ 0.2, < 3.7
- kjd/idna≥ unspecified, < 3.7
Redhat2 products
- python-idna< 0:2.5-5.el8_8.1 | < 0:2.5-5.el8_6.1 | < 0:2.10-7.el9_4.1 | < 0:2.5-7.el8_10 | < 0:2.4-2.el7_9
- python3-idna< 0:2.5-5.el8_8.1 | < 0:2.5-5.el8_6.1 | < 0:2.10-7.el9_4.1 | < 0:2.5-7.el8_10
Ubuntu2 products
- python-idna< 2.0-3ubuntu0.1~esm1 | < 2.6-1ubuntu0.1~esm1 | < 2.8-1ubuntu0.1 | < 3.3-1ubuntu0.1 | < 3.6-2ubuntu0.1
- python-pip< 8.1.1-2ubuntu0.6+esm8 | < 9.0.1-2.3~ubuntu1.18.04.8+esm4 | < 20.0.2-5ubuntu1.10+esm2 | < 22.0.2+dfsg-1ubuntu0.7 | < 24.0+dfsg-1ubuntu1.3
Alpine1 product
- py3-idna< 3.7-r0
Debian1 product
- python-idna< 2.6-1+deb10u1 | < 3.3-1+deb12u1 | < 3.6-2.1
Mageia1 product
- python-idna< 3.7-1.mga9
PyPI1 product
- idna< 3.7 | < 1d365e17e10d72d0b7876316fc7b9ca0eebdd38d | ≥ 0.1, < 3.7
11 vendors · 163 products
References
45 linksShow all 45 references
- github.com/kjd/idnaPACKAGE