PYSEC-2024-60

At a glance

Published
Updated
CVE
CVE-2024-3651
Aliases
GHSA-jjg7-2v4v-x38h
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Affected packages

PackageVersions
PyPI · idnaintroduced 0, fixed 1d365e17e10d72d0b7876316fc7b9ca0eebdd38d ; introduced 0.1, fixed 3.7

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database