HIGH7.5
PYSEC-2024-60
Quick fix
PYSEC-2024-60 — idna: upgrade to the fixed version with the command below.
pip install --upgrade 'idna>=1d365e17e10d72d0b7876316fc7b9ca0eebdd38d'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/idna
Introduced in:
0Fixed in: 1d365e17e10d72d0b7876316fc7b9ca0eebdd38dFix
pip install --upgrade 'idna>=1d365e17e10d72d0b7876316fc7b9ca0eebdd38d'