GHSA-q2q7-5pp4-w6pg

Source
https://github.com/advisories/GHSA-q2q7-5pp4-w6pg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-q2q7-5pp4-w6pg/GHSA-q2q7-5pp4-w6pg.json
Aliases
Published
2021-06-01T21:19:32Z
Modified
2024-02-16T08:11:19.623969Z
Summary
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: * Ask in our community Discord * Email sethmichaellarson@gmail.com

References

Affected packages

PyPI / urllib3

Package

Name
urllib3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.25.4
Fixed
1.26.5

Affected versions

1.*

1.25.4
1.25.5
1.25.6
1.25.7
1.25.8
1.25.9
1.25.10
1.25.11
1.26.0
1.26.1
1.26.2
1.26.3
1.26.4