ADVISORIES

GitHub Advisory Database

GHSA-q2q7-5pp4-w6pg

Catastrophic backtracking in URL authority parser when passed URL containing many @ characters

Details

Impact

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.

Patches

The issue has been fixed in urllib3 v1.26.5.

References

For more information

If you have any questions or comments about this advisory:

Affected packages

EcosystemPackageAffected versions
PyPIurllib3
From 1.25.4 before 1.26.5 (fixed in 1.26.5)

References