7.5
CWE
918
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2021-33571: SSRF

First published: Mon May 31 2021(Updated: )

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

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
pip/django>=3.2.0<3.2.4
3.2.4
pip/django>=3.0.0<3.1.12
3.1.12
pip/django>=2.2.0<2.2.24
2.2.24
Djangoproject Django>=2.2<2.2.24
Djangoproject Django>=3.0<3.1.12
Djangoproject Django>=3.2<3.2.4
Fedoraproject Fedora=35
redhat/python-django20<0:2.0.13-16.el8
0:2.0.13-16.el8
redhat/python3-django<0:2.2.24-1.el7
0:2.2.24-1.el7

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID?

    The vulnerability ID is CVE-2021-33571.

  • What is the severity of CVE-2021-33571?

    The severity of CVE-2021-33571 is high with a CVSS score of 7.5.

  • What is the affected software?

    The affected software is Django versions 2.2 before 2.2.24, 3.x before 3.1.12, and 3.2 before 3.2.4.

  • How does the vulnerability affect access control based on IP addresses?

    The vulnerability allows a bypass of access control that is based on IP addresses.

  • How do I fix CVE-2021-33571?

    To fix CVE-2021-33571, update Django to version 3.2.4, 3.1.12, or 2.2.24, depending on the installed version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203