Security mailing lists by PureSourceCode

CVE-2024-3651

HIGH 7.5CVSS 3.1

Internationalized Domain Names in Applications (IDNA) vulnerable to denial of service from specially crafted inputs to idna.encode

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.

Published
7 Jul 2024
Last modified
10 Sep 2026
Assigned by
security@huntr.dev
NVD status
Modified
Weakness
CWE-1333CWE-400
Also known as
GHSA-jjg7-2v4v-x38hPYSEC-2024-60
Sources
NVDJSONOSV GHSA-jjg7-2v4v-x38hJSONOSV PYSEC-2024-60JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD security@huntr.dev (Secondary) CVSS 3.0 MEDIUM 6.2 CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD kjd internationalized_domain_names_in_applications
cpe:2.3:a:kjd:internationalized_domain_names_in_applications:*:*:*:*:*:*:*:*
>= 0.2, < 3.7 3.7
OSV PyPI idna < 3.7 3.7
OSV PyPI idna >= 0.1, < 3.7 3.7

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 7 Jul 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Apr 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.