—
PYSEC-2021-108
Details
An issue was discovered in urllib3 before 1.26.5. When provided with a URL containing many @ characters in the authority component, the authority regular expression exhibits catastrophic backtracking, causing a denial of service if a URL were passed as a parameter or redirected to via an HTTP redirect.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI / urllib3
Introduced in:
0 Fixed in: 2d4a3fee6de2fa45eb82169361918f759269b4ec Fix
pip install --upgrade 'urllib3>=2d4a3fee6de2fa45eb82169361918f759269b4ec'