CVE-2021-33571

HIGHCVSS 7.5/10EPSS 3.06%

Last modified

CVE-2021-33571 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 3.06% chance of exploitation in the next 30 days.

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

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS Probability
3.06%

85.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
DjangoprojectDjango>= 2.2, < 2.2.24
DjangoprojectDjango>= 3.0, < 3.1.12
DjangoprojectDjango>= 3.2, < 3.2.4
FedoraprojectFedora35

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-33571?
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+..) .
How severe is CVE-2021-33571?
CVE-2021-33571 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 3.06% probability of exploitation in the next 30 days.
How do I fix CVE-2021-33571?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-33571?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST