CVE-2021-33571: Djangoproject Django

High severity, CVSS 7.5. EPSS: 5.3% chance of exploitation in the next 30 days.

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

Affected products

  • Djangoproject Django: from 2.2, before 2.2.24 (fixed in 2.2.24); from 3.0, before 3.1.12 (fixed in 3.1.12); from 3.2, before 3.2.4 (fixed in 3.2.4)
  • Fedoraproject Fedora: version 35 only

Published 2021-06-08. Last modified 2026-06-17.