CVE-2024-45231
MEDIUM 5.3CVSS 3.1Django allows enumeration of user e-mail addresses
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).
- Published
- 8 Oct 2024
- Last modified
- 7 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-203CWE-204
- Also known as
- BIT-django-2024-45231GHSA-rrqc-c2jx-6jgvPYSEC-2026-1297
- Sources
- NVDJSONOSV GHSA-rrqc-c2jx-6jgvJSONOSV PYSEC-2026-1297JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | PyPA | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.16 | 4.2.16 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 5.0, < 5.0.9 | 5.0.9 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:5.1:*:*:*:*:*:*:* |
= 5.1 | |
| OSV | PyPI | django | >= 5.1, < 5.1.1 | 5.1.1 |
| OSV | PyPI | django | >= 5.0, < 5.0.9 | 5.0.9 |
| OSV | PyPI | django | < 4.2.16 | 4.2.16 |
| OSV | PyPI | django | < 4.2.16; >= 5.0, < 5.0.9; >= 5.1, < 5.1.1 | 4.2.16, 5.0.9, 5.1.1 |
References
- https://docs.djangoproject.com/en/dev/releases/security/ · Vendor Advisory, WEB
- https://groups.google.com/forum/#%21forum/django-announce · Permissions Required, WEB
- https://www.djangoproject.com/weblog/2024/sep/03/security-releases/ · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-45231 · ADVISORY
- https://github.com/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53ca · WEB, FIX
- https://github.com/django/django/commit/96d84047715ea1715b4bd1594e46122b8a77b9e2 · WEB, FIX
- https://github.com/django/django/commit/bf4888d317ba4506d091eeac6e8b4f1fcc731199 · WEB, FIX
- https://github.com/django/django · PACKAGE
- https://pypi.org/project/django · PACKAGE
- https://github.com/advisories/GHSA-rrqc-c2jx-6jgv · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 8 Oct 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Oct 2024)