PyPA Advisory Database
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | urllib3 | From 1.25.4 before 1.26.5 (fixed in 1.26.5) |