Advisory

PYSEC-2021-108

Also known as: CVE-2021-33503, GHSA-q2q7-5pp4-w6pg

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2021-06-29 11:15 UTC
Modified
2026-10-13 09:30 UTC

Affected packages and fixes

urllib3

PyPI · All systems

Affected

  • introduced 1.25.4, fixed 1.26.5 (ecosystem)

Fixed versions

1.26.5

Fix

  • Fixed version 1.26.5
    pip install --upgrade urllib3==1.26.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences