CVE-2021-33571
Last modified
CVE-2021-33571 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 3.06% chance of exploitation in the next 30 days.
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+..) .
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 2.2, < 2.2.24 |
| Djangoproject | Django | >= 3.0, < 3.1.12 |
| Djangoproject | Django | >= 3.2, < 3.2.4 |
| Fedoraproject | Fedora | 35 |
References
- https://docs.djangoproject.com/en/3.2/releases/security/Patch, Vendor Advisory
- https://groups.google.com/g/django-announce/c/sPyjSKMi8EoMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210727-0004/Third Party Advisory
- https://www.djangoproject.com/weblog/2021/jun/02/security-releases/Patch, Vendor Advisory
- https://docs.djangoproject.com/en/3.2/releases/security/Patch, Vendor Advisory
- https://groups.google.com/g/django-announce/c/sPyjSKMi8EoMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210727-0004/Third Party Advisory
- https://www.djangoproject.com/weblog/2021/jun/02/security-releases/Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-33571?
How severe is CVE-2021-33571?
How do I fix CVE-2021-33571?
Are you affected by CVE-2021-33571?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
