CVE-2024-3651 Details
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.
A denial-of-service vulnerability has been identified in the kjd/idna library, specifically in version 3.6, within the idna.encode() function. The issue stems from the function's processing of crafted input strings, which can cause a significant increase in processing time due to quadratic complexity. This vulnerability can be exploited by sending specially designed input that the encode() function must process, leading to a considerable slowdown in performance. Notably, this vulnerability has been reported to affect urllib3, a widely used library for handling HTTP requests, where it can be triggered by parsing a crafted URL.
Users can upgrade to idna version 3.7 to address this vulnerability. Instructions for upgrading can be found in the Fedora Update Notifications for python-idna, which detail how to apply the update using the dnf package manager. For Debian users, the update is available in python-idna version 2.6-1+deb10u1.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 7, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kjd internationalized domain names in applications | >= 0.2, < 3.7 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Nov 4, 2025 | CVE Modified | CVE |
| Oct 15, 2025 | CVE Modified | [email protected] |
| Aug 19, 2025 | Modified Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Jul 11, 2024 | Initial Analysis | [email protected] |
| Jul 7, 2024 | New CVE Received | [email protected] |