CVE-2021-33571

medium
Published 2021-06-10 · Modified 2023-12-06
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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 Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-33571

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-33571.html

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-202106-41

OS impact

OSVersionStatusFixed in
arch archfixed3.2.4-1
suse slesaffected
debian debianbookwormfixed2:2.2.24-1
debian debianbullseyefixed2:2.2.24-1
debian debianforkyfixed2:2.2.24-1
debian debiansidfixed2:2.2.24-1
debian debiantrixiefixed2:2.2.24-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango>=2.2a1,<2.2.242.2.24
python PyPIdjango>=3.0a1,<3.1.123.1.12
python PyPIdjango>=3.2a1,<3.2.43.2.4
python PyPIdjango>=3.2,<3.2.42.2.24

References

Verify integrity in audit chain (admin only). AS-IS.