CVE-2021-33571

Published: 02 June 2021

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+..) .

Priority

Medium

CVSS 3 base score: 7.5

Status

Package Release Status
python-django
Launchpad, Ubuntu, Debian
Upstream
Released (2.2.24)
Ubuntu 21.04 (Hirsute Hippo)
Released (2:2.2.20-1ubuntu0.2)
Ubuntu 20.10 (Groovy Gorilla)
Released (2:2.2.16-1ubuntu0.5)
Ubuntu 20.04 LTS (Focal Fossa)
Released (2:2.2.12-1ubuntu0.7)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(1:1.11.11-1ubuntu1.13)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable

Ubuntu 14.04 ESM (Trusty Tahr) Not vulnerable

Notes

AuthorNote
mdeslaur
Python earlier than 3.8.0 is not vulnerable to CVE-2021-29921,
so django in bionic and earlier do not require fixes

References