django
Affected
- introduced
2.2a1, fixed2.2.24(ecosystem)
Fixed versions
2.2.24
Fix
- Fixed version
2.2.24pip install --upgrade django==2.2.24
Advisory
Also known as: BIT-django-2021-33571, CVE-2021-33571, PYSEC-2021-99
Django Access Control Bypass possibly leading to SSRF, RFI, and LFI attacks
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+..) .
High Basis: The source's own band: HIGH
2.2a1, fixed 2.2.24 (ecosystem)2.2.24
2.2.24pip install --upgrade django==2.2.243.0a1, fixed 3.1.12 (ecosystem)3.1.12
3.1.12pip install --upgrade django==3.1.123.2a1, fixed 3.2.4 (ecosystem)3.2.4
3.2.4pip install --upgrade django==3.2.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0