CVE-2024-3651

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-3651
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-3651.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-3651
Aliases
Downstream
Related
Published
2024-07-07T18:15:09Z
Modified
2025-09-30T04:42:14.163168Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/kjd/idna

Affected ranges

Type
GIT
Repo
https://github.com/kjd/idna
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.2
v0.3
v0.4
v0.5
v0.6
v0.7
v0.8
v0.9

v1.*

v1.0
v1.1

v2.*

v2.0
v2.1
v2.10
v2.2
v2.3
v2.4
v2.5
v2.6
v2.7
v2.8
v2.9

v3.*

v3.0
v3.1
v3.2
v3.3
v3.4
v3.5
v3.6