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+..) .
References (8)
Core 8
Core References
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
Patch, Vendor Advisory
https://docs.djangoproject.com/en/3.2/releases/security/
Mailing List, Third Party Advisory
https://groups.google.com/g/django-announce/c/sPyjSKMi8Eo
Third Party Advisory
https://security.netapp.com/advisory/ntap-20210727-0004/
Patch, Vendor Advisory
https://www.djangoproject.com/weblog/2021/jun/02/security-releases/
Scores
CVSS v3
7.5
EPSS
0.0003
EPSS Percentile
9.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Details
CWE
CWE-918
Status
published
Products (3)
djangoproject/django
2.2 - 2.2.24
fedoraproject/fedora
35
pypi/Django
2.2a1 - 2.2.24PyPI
Published
Jun 08, 2021
Tracked Since
Feb 18, 2026