CVE-2024-3651

Denial of Service via Quadratic Complexity in kjd/idna

Published Jul 7, 2024 CVSS 3.1 · 7.5 High EPSS 1.4% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3811-1 python-idna security update
EUVD EUVD EUVD-2024-0077 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.
Github GHSA Github GHSA GHSA-jjg7-2v4v-x38h Internationalized Domain Names in Applications (IDNA) vulnerable to denial of service from specially crafted inputs to idna.encode
Ubuntu USN Ubuntu USN USN-6780-1 idna vulnerability
Ubuntu USN Ubuntu USN USN-7762-1 pip vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-1333
Type Values Removed Values Added
CPEs cpe:2.3:a:kjd:internationalized_domain_names_in_applications:3.6:*:*:*:*:*:*:* cpe:2.3:a:kjd:internationalized_domain_names_in_applications:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics epss

{'score': 0.00459}

epss

{'score': 0.00338}

Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Nov 4, 2025, 10:06 PM
Reserved
Apr 10, 2024, 11:50 PM
Status
Modified
Published
Jul 7, 2024, 6:15 PM
Modified
Jun 17, 2026, 7:44 AM
Severity
Moderate
Public date
Apr 12, 2024, 12:00 AM