CWE
204 203
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2024-45231: Django CVE-2024-45230 and CVE-2024-45231

First published: Tue Sep 03 2024(Updated: )

An issue was discovered in Django v5.1.1, v5.0.9, and v4.2.16. The django.contrib.auth.forms.PasswordResetForm class, when used in a view implementing password reset flows, allows remote attackers to enumerate user e-mail addresses by sending password reset requests and observing the outcome (only when e-mail sending is consistently failing).

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

Affected SoftwareAffected VersionHow to fix
debian/python-django<=2:2.2.28-1~deb11u2<=3:3.2.19-1+deb12u1
3:4.2.16-1
Djangoproject Django>=4.2.0<4.2.16
Djangoproject Django>=5.0<5.0.9
Djangoproject Django=5.1
pip/Django<4.2.16
4.2.16
pip/Django>=5.0<5.0.9
5.0.9
pip/Django>=5.1<5.1.1
5.1.1
IBM Storage Defender - Resiliency Service<=2.0.0 - 2.0.9

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.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2024-45231?

    CVE-2024-45231 has been classified as a medium severity vulnerability due to its potential for user enumeration.

  • How do I fix CVE-2024-45231?

    To fix CVE-2024-45231, upgrade your Django installation to versions 5.1.1, 5.0.9, or 4.2.16.

  • What versions of Django are affected by CVE-2024-45231?

    CVE-2024-45231 affects Django versions prior to 5.1.1, including 5.0.9 and 4.2.16.

  • Can CVE-2024-45231 lead to account compromise?

    CVE-2024-45231 allows attackers to enumerate valid email addresses but does not directly lead to account compromise.

  • Is user action required to exploit CVE-2024-45231?

    Yes, an attacker must initiate a password reset request, making user action necessary for exploitation of CVE-2024-45231.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203