cve.bz

CVE-2021-33571

7.5 highEPSS 5.3%

High (7.5). EPSS 5.3% chance of exploitation in the next 30 days. Fixed in django 2.2.24, 3.1.12, 3.2.4.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
5.3% chance of exploitation in the next 30 days; higher than 92% of CVEs (scores of 2026-10-31)
CWE
CWE-918
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p99v-5w3c-jqq9PyPIdjango>=2.2a1 <2.2.242.2.24
GHSA-p99v-5w3c-jqq9PyPIdjango>=3.0a1 <3.1.123.1.12
GHSA-p99v-5w3c-jqq9PyPIdjango>=3.2a1 <3.2.43.2.4
PYSEC-2021-99PyPIdjango>=2.2 <2.2.24
>=3.0 <3.1.12
>=3.2 <3.2.4
2.2.24, 3.1.12, 3.2.4

References

Check your stackJSON