Vulnerability advisory
GHSA-rrqc-c2jx-6jgv
Django allows enumeration of user e-mail addresses
Also known as BIT-django-2024-45231CVE-2024-45231PYSEC-2026-1297
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Affected versions
Description
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).
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-45231 ↗
- Webgithub.com/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53ca ↗
- Webgithub.com/django/django/commit/96d84047715ea1715b4bd1594e46122b8a77b9e2 ↗
- Webgithub.com/django/django/commit/bf4888d317ba4506d091eeac6e8b4f1fcc731199 ↗
- Webdocs.djangoproject.com/en/dev/releases/security ↗
- Packagegithub.com/django/django ↗
- Webgroups.google.com/forum/#%21forum/django-announce ↗
- Webwww.djangoproject.com/weblog/2024/sep/03/security-releases ↗