Access Control Bypass in Django URL Validation Functions
CVE-2021-33571

7.5HIGH

Key Information:

Status
Vendor
CVE Published:
8 June 2021

What is CVE-2021-33571?

Earlier versions of Django, specifically 2.2 (up to 2.2.24), 3.x (up to 3.1.12), and 3.2 (up to 3.2.4), exhibit a vulnerability where the URLValidator and associated validation functions do not prevent leading zero characters in octal representations of IP addresses. This oversight could lead to unintended access control bypasses based on IP address restrictions, potentially allowing unauthorized users to gain access to restricted resources. This vulnerability does not affect the validate_ipv4_address and validate_ipv46_address functions when executed with Python version 3.9.5 or later.

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.