~ / search / GHSA-p99v-5w3c-jqq9

GHSA-p99v-5w3c-jqq9

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

Source: GitHub Advisory Database (reviewed) High CVE-2021-33571

Packages

EcosystemPackageAffectedFixed in
PyPI Django >= 2.2a1, < 2.2.24 2.2.24
PyPI Django >= 3.0a1, < 3.1.12 3.1.12
PyPI Django >= 3.2a1, < 3.2.4 3.2.4

Details

As written in the advisory (Markdown source, shown as plain text).

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

References

External links from the advisory. They lead to third-party sites.