VDB
Sign up
HIGH7.5

PYSEC-2021-108

Quick fix

PYSEC-2021-108 — urllib3: upgrade to the fixed version with the command below.

pip install --upgrade 'urllib3>=2d4a3fee6de2fa45eb82169361918f759269b4ec'

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: 5b047b645f5f93900d5e2fc31230848c25eb1f5fFixed in: 2d4a3fee6de2fa45eb82169361918f759269b4ec
Fixpip install --upgrade 'urllib3>=2d4a3fee6de2fa45eb82169361918f759269b4ec'

References