CVE-2021-33571
medium
CVSS v3
—
CVSS v2
—
VIR risk
5.5
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+..) .
Predictions
Exploit likelihood
30%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-33571
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-33571.html
Vendor advisory: arch — https://security.archlinux.org/ASA-202106-41
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 3.2.4-1 | |
| sles | affected | | |
| debian | bookworm | fixed | 2:2.2.24-1 |
| debian | bullseye | fixed | 2:2.2.24-1 |
| debian | forky | fixed | 2:2.2.24-1 |
| debian | sid | fixed | 2:2.2.24-1 |
| debian | trixie | fixed | 2:2.2.24-1 |
References
- https://security.archlinux.org/ASA-202106-41
- https://nvd.nist.gov/vuln/detail/CVE-2021-33571
- https://github.com/django/django/commit/203d4ab9ebcd72fc4d6eb7398e66ed9e474e118e
- https://github.com/django/django/commit/9f75e2e562fa0c0482f3dde6fc7399a9070b4a3d
- https://github.com/django/django/commit/f27c38ab5d90f68c9dd60cabef248a570c0be8fc
- https://docs.djangoproject.com/en/3.2/releases/security
- https://github.com/advisories/GHSA-p99v-5w3c-jqq9
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-99.yaml
- https://groups.google.com/g/django-announce/c/sPyjSKMi8Eo
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV
- https://security.netapp.com/advisory/ntap-20210727-0004
- https://www.djangoproject.com/weblog/2021/jun/02/security-releases
- https://docs.djangoproject.com/en/3.2/releases/security/
- https://www.djangoproject.com/weblog/2021/jun/02/security-releases/
- https://www.suse.com/security/cve/CVE-2021-33571.html
- https://security-tracker.debian.org/tracker/CVE-2021-33571
Verify integrity in audit chain (admin only). AS-IS.