NetSight
high7.5

CVE-2021-33571

Django Access Control Bypass possibly leading to SSRF, RFI, and LFI attacks

Impact

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 packages

EcosystemPackageAffectedFixed in
pipDjango>= 2.2a1, < 2.2.242.2.24

Affected products

VendorProductAffected versions
DjangoprojectDjango
from 2.2 before 2.2.24
from 3.0 before 3.1.12
from 3.2 before 3.2.4
FedoraprojectFedora
Version 35

Weakness classification

References