CVE-2021-33571
CVE-2021-33571
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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+..) .
CVSS 7.5 · High · EPSS 5.3% · Fix available
- Published
- Updated
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
python-django Debian:12
- Affected ranges
- ECOSYSTEM: < 2:2.2.24-1
Update to 2:2.2.24-1
python-django Debian:13
- Affected ranges
- ECOSYSTEM: < 2:2.2.24-1
Update to 2:2.2.24-1
python-django Debian:14
- Affected ranges
- ECOSYSTEM: < 2:2.2.24-1
Update to 2:2.2.24-1
django PyPI
- Versions
- 2.2
- 2.2.1
- 2.2.10
- 2.2.11
- 2.2.12
- 2.2.13
- 2.2.14
- 2.2.15
- 2.2.16
- 2.2.17
- 2.2.18
- 2.2.19
- 2.2.2
- 2.2.20
- 2.2.21
- 2.2.22
- 2.2.23
- 2.2.3
- 2.2.4
- 2.2.5
- 2.2.6
- 2.2.7
- 2.2.8
- 2.2.9
- 2.2a1
- 2.2b1
- 2.2rc1
- Affected ranges
- ECOSYSTEM: ≥ 2.2a1, < 2.2.24
Update to 2.2.24
django PyPI
- Versions
- 3.0
- 3.0.1
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.13
- 3.0.14
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.6
- 3.0.7
- 3.0.8
- 3.0.9
- 3.0a1
- 3.0b1
- 3.0rc1
- 3.1
- 3.1.1
- 3.1.10
- 3.1.11
- 3.1.2
- 3.1.3
- 3.1.4
- 3.1.5
- 3.1.6
- 3.1.7
- 3.1.8
- 3.1.9
- 3.1a1
- 3.1b1
- 3.1rc1
- Affected ranges
- ECOSYSTEM: ≥ 3.0a1, < 3.1.12
Update to 3.1.12
django PyPI
- Versions
- 3.2
- 3.2.1
- 3.2.2
- 3.2.3
- 3.2a1
- 3.2b1
- 3.2rc1
- Affected ranges
- ECOSYSTEM: ≥ 3.2a1, < 3.2.4
Update to 3.2.4
django PyPI
- Versions
- 2.2
- 2.2.1
- 2.2.10
- 2.2.11
- 2.2.12
- 2.2.13
- 2.2.14
- 2.2.15
- 2.2.16
- 2.2.17
- 2.2.18
- 2.2.19
- 2.2.2
- 2.2.20
- 2.2.21
- 2.2.22
- 2.2.23
- 2.2.3
- 2.2.4
- 2.2.5
- 2.2.6
- 2.2.7
- 2.2.8
- 2.2.9
- 3.0
- 3.0.1
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.13
- 3.0.14
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.6
- 3.0.7
- 3.0.8
- 3.0.9
- 3.1
- 3.1.1
- 3.1.10
- 3.1.11
- 3.1.2
- 3.1.3
- 3.1.4
- 3.1.5
- 3.1.6
- 3.1.7
- 3.1.8
- 3.1.9
- 3.1a1
- 3.1b1
- 3.1rc1
- 3.2
- 3.2.1
- 3.2.2
- 3.2.3
- Affected ranges
- ECOSYSTEM: ≥ 2.2, < 2.2.24 ∪ ≥ 3.0, < 3.1.12 ∪ ≥ 3.2, < 3.2.4
Update to 2.2.24; Update to 3.1.12; Update to 3.2.4
python-django Ubuntu:20.04:LTS
- Versions
- 1:1.11.22-1ubuntu1
- 2:2.2.6-1ubuntu1
- 2:2.2.9-2ubuntu1
- 2:2.2.10-1
- 2:2.2.10-1ubuntu1
- 2:2.2.11-1
- 2:2.2.12-1
- 2:2.2.12-1ubuntu0.1
- 2:2.2.12-1ubuntu0.2
- 2:2.2.12-1ubuntu0.3
- 2:2.2.12-1ubuntu0.4
- 2:2.2.12-1ubuntu0.5
- 2:2.2.12-1ubuntu0.6
- Affected ranges
- ECOSYSTEM: < 2:2.2.12-1ubuntu0.7
Update to 2:2.2.12-1ubuntu0.7
Original sources
- https://docs.djangoproject.com/en/3.2/releases/security/
- https://groups.google.com/g/django-announce/c/sPyjSKMi8Eo
- https://www.djangoproject.com/weblog/2021/jun/02/security-releases/
- https://security.netapp.com/advisory/ntap-20210727-0004/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
- https://github.com/django/django/commit/f27c38ab5d90f68c9dd60cabef248a570c0be8fc
- https://github.com/django/django/commit/203d4ab9ebcd72fc4d6eb7398e66ed9e474e118e
- https://github.com/django/django/commit/9f75e2e562fa0c0482f3dde6fc7399a9070b4a3d
- https://nvd.nist.gov/vuln/detail/CVE-2021-33571