CVE-2021-33571

High

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

SeverityHigh
CVSS7.5
Exploit probability—
ProductDjango
PublishedJun 8, 2021
First seenJun 8, 2021

How to fix

Update
  • djangoproject django2.2.24, 3.1.12, 3.2.4 or later
  • django2.2.24, 3.1.12, 3.2.4 or later

Affected products

ProductAffected versionsFixed in
djangoproject django2.2 ≤ v < 2.2.24, 3.0 ≤ v < 3.1.12, 3.2 ≤ v < 3.2.42.2.24, 3.1.12, 3.2.4
fedoraproject fedora35—
djangoPyPI2.2a1 ≤ v < 2.2.24, 3.0a1 ≤ v < 3.1.12, 3.2a1 ≤ v < 3.2.4, 2.2 ≤ v < 2.2.24, 3.0 ≤ v < 3.1.12, 3.2 ≤ v < 3.2.42.2.24, 3.1.12, 3.2.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.