Vulnerabilities · 2024 · Djangoproject
CVE-2024-45231
Djangoproject Django vulnerability
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).
Affected products
Django. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Djangoproject Django runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- docs.djangoproject.com/en/dev/releases/security/ · Vendor Advisory
- www.djangoproject.com/weblog/2024/sep/03/security-releases/ · Vendor Advisory
- groups.google.com/forum/#%21forum/django-announce
- nvd.nist.gov/vuln/detail/CVE-2024-45231
- docs.djangoproject.com/en/dev/releases/security
- www.djangoproject.com/weblog/2024/sep/03/security-releases
- github.com/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53ca
- github.com/django/django/commit/96d84047715ea1715b4bd1594e46122b8a77b9e2
- nvd.nist.gov/vuln/detail/CVE-2024-45231
- cve.org/CVERecord?id=CVE-2024-45231
More vulnerabilities in Djangoproject products
CVE-2026-1312CVE-2026-1287CVE-2026-1285CVE-2026-1207CVE-2025-64460CVE-2025-64459CVE-2025-64458CVE-2025-59682All 137
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.