Vulnerability advisory
PYSEC-2021-99
Also known as BIT-django-2021-33571CVE-2021-33571GHSA-p99v-5w3c-jqq9
Severity
Severity not reported.
Affected versions
| Affected | Fixed in |
|---|---|
2.2 to before 2.2.24 | 2.2.24Advisories → |
3.0 to before 3.1.12 | 3.1.12Advisories → |
3.2 to before 3.2.4 | 3.2.4Advisories → |
Also listed as affected (58)
| |
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+..) .