CVE-2021-33571In Django 2.2 before 2.2.24, 3.x before 3.1.12, and 3.2 before 3.2.4, URLValidator, validate_ipv4_address, and validate_ipv46_address do…
- 7.5HighCVSS base score
- 5.3%Exploitation in 30 daysEPSS · top 7.3% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In Django 2.2 before 2.2.24, 3.x before 3.1.12, and 3.2 before 3.2.4, URLValidator, validate_ipv4_address, and validate_ipv46_address do not prohibit leading zero characters in octal literals. This may allow a bypass of access control that is based on IP addresses. (validate_ipv4_address and validate_ipv46_address are unaffected with Python 3.9.5+..) .
Timeline
ID reserved
By mitre
- 14 days later
· 14 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 5.3% · top 7.3% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-p99v-5w3c-jqq9 (opens in a new tab)
References
References8
- https://docs.djangoproject.com/en/3.2/releases/security/ (opens in a new tab)x_transferred
- https://groups.google.com/g/django-announce/c/sPyjSKMi8Eo (opens in a new tab)x_transferred
- https://www.djangoproject.com/weblog/2021/jun/02/security-releases/ (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20210727-0004/ (opens in a new tab)x_transferred
- FEDORA-2022-e7fd530688 (opens in a new tab)vendor-advisoryx_transferred
- https://github.com/django/django/commit/f27c38ab5d90f68c9dd60cabef248a570c0be8fc (opens in a new tab)x_transferred
- https://github.com/django/django/commit/203d4ab9ebcd72fc4d6eb7398e66ed9e474e118e (opens in a new tab)x_transferred
- https://github.com/django/django/commit/9f75e2e562fa0c0482f3dde6fc7399a9070b4a3d (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-0068 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-p99v-5w3c-jqq9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-33571)Record last updated .