GHSA-q2q7-5pp4-w6pg

Suggest an improvement
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
JSON Data
https://api.osv.dev/v1/vulns/GHSA-q2q7-5pp4-w6pg
Aliases
Published
2021-06-01T21:19:32Z
Modified
2024-11-18T23:12:19.714863Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
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

Database specific
{
    "nvd_published_at": "2021-06-29T11:15:00Z",
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-28T22:09:12Z"
}
References

Affected packages

PyPI / urllib3

Package

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