CVE-2021-33503
Reported by mitre · Published June 29, 2021
urllib3 is fixed in 1.26.5 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| urllib3 | PyPI | 1.26.5 |
| python-urllib3 | Amazon Linux | 1.25.9-1.amzn2.0.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | urllib3 | 1.25.4 |
| amazon:2 | python-urllib3 | 0 |
| n/a | n/a | * |
| arch | python-urllib3 | 0 |
Timeline
- Jun 1, 2021 CVE Published
- Jun 30, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 7, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 7, 2026 Security Advisory (10 in total, the first dated here)
- Aug 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-33503
vulnetix vdb fixes CVE-2021-33503
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-33503/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2021-a6bde7ab18 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-9c5f3b8aae vendor-advisoryx_refsource_FEDORA
- GLSA-202107-36 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2021-33503 advisory
- https://github.com/urllib3/urllib3/security/advisories/GHSA-q2q7-5pp4-w6pg url
- https://github.com/urllib3/urllib3/commit/5b047b645f5f93900d5e2fc31230848c25eb1f5f#diff-52026d639119bf1e0364836b4e8a18bd9ed3c95c6ba39b26534a5057a65e35bbR65 patch
- https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2021-108.yaml advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6SCV7ZNAHS3E6PBFLJGENCDRDRWRZZ6W url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FMUGWEAUYGGHTPPXT6YBD53WYXQGVV73 url