Feed
7.5HIGH

CVE-2021-33571Django Access Control Bypass possibly leading to SSRF, RFI, and LFI attacks

A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 5.3% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
5.3%
percentile 93%
Priority
29/100 medium
how it is computed
Fix
Named by a source
CVE published 8 Jun 2021

Reference

None of the "Needs attention" rules apply right now.

EPSS 5.3% (+5) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 2.2a1, < 2.2.24Fixed in2.2.24OSV (GHSA-p99v-5w3c-jqq9)
    • Affected>= 3.0a1, < 3.1.12Fixed in3.1.12OSV (GHSA-p99v-5w3c-jqq9)
    • Affected>= 3.2a1, < 3.2.4Fixed in3.2.4OSV (GHSA-p99v-5w3c-jqq9)
    • Affected>= 2.2, < 2.2.24Fixed in2.2.24OSV (PYSEC-2021-99)
    • Affected>= 3.0, < 3.1.12Fixed in3.1.12OSV (PYSEC-2021-99)
    • Affected>= 3.2, < 3.2.4Fixed in3.2.4OSV (PYSEC-2021-99)

Confirmed facts

CVSS
7.5 HIGH (version 3.1)
Score from
GitHub Advisory Database (GHSA-p99v-5w3c-jqq9)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-918

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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+..) .

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 14 min ago · osv 14 min ago · nvd 75 min ago · epss 14 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-django-2021-33571, GHSA-p99v-5w3c-jqq9, PYSEC-2021-99