CVE-2024-45231
LOW3.7EPSS 0.24%Django allows enumeration of user e-mail addresses
Published: 10/8/2024Modified: 4/28/2026
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).
Affected packages (3)
- Bitnami/django>= 4.2.0, < 4.2.16, >= 5.0.0, < 5.0.9, >= 5.1.0, < 5.2.5
- Debian/python-djangofrom 0, < 2:2.2.28-1~deb11u11
- PyPI/django>= 5.1, < 5.1.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | LOW3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
References (11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-45231
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-45231
- PATCHhttps://github.com/django/django
- WEBhttps://docs.djangoproject.com/en/dev/releases/security
- WEBhttps://docs.djangoproject.com/en/dev/releases/security/
- WEBhttps://github.com/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53ca
- WEBhttps://github.com/django/django/commit/96d84047715ea1715b4bd1594e46122b8a77b9e2
- WEBhttps://github.com/django/django/commit/bf4888d317ba4506d091eeac6e8b4f1fcc731199
- WEBhttps://groups.google.com/forum/#%21forum/django-announce
- WEBhttps://www.djangoproject.com/weblog/2024/sep/03/security-releases
- WEBhttps://www.djangoproject.com/weblog/2024/sep/03/security-releases/