What’s Vulnerable › Vulnerabilities

CVE-2024-3651: Denial of Service via Quadratic Complexity in kjd/idna

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 products

How to fix

Upgrade to a fixed version: kjd Internationalized Domain Names In Applications 3.7; Pypi Idna 3.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-3651 or the next vulnerability affects your stack