What’s Vulnerable › Vulnerabilities

CVE-2021-33503: Catastrophic backtracking in URL authority parser when passed URL containing many @ characters

Description

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.

Affected products

How to fix

Upgrade to a fixed version: urllib3 1.26.5; Pypi Urllib3 1.26.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-33503 or the next vulnerability affects your stack