CVE-2024-45231

python-django: Potential user email enumeration via response status on password reset

Published Oct 8, 2024 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4458-1 python-django security update
Debian DSA Debian DSA DSA-6136-1 python-django security update
EUVD EUVD EUVD-2024-3135 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).
Github GHSA Github GHSA GHSA-rrqc-c2jx-6jgv Django allows enumeration of user e-mail addresses
Ubuntu USN Ubuntu USN USN-6987-1 Django vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-203
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Djangoproject
Djangoproject django
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:5.1:*:*:*:*:*:*:*
Vendors & Products Djangoproject
Djangoproject django
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in Python's Django package. This flaw allows an attacker to enumerate users' emails by issuing password reset requests. 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
Type Values Removed Values Added
Description No description is available for this CVE. A flaw was found in Python's Django package. This flaw allows an attacker to enumerate users' emails by issuing password reset requests.
Type Values Removed Values Added
Description No description is available for this CVE.
Title python-django: Potential user email enumeration via response status on password reset
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Low

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 17, 2025, 5:30 PM
Reserved
Aug 24, 2024, 12:00 AM
Status
Modified
Published
Oct 8, 2024, 4:15 PM
Modified
Jun 17, 2026, 7:53 AM
Severity
Low
Public date
Sep 3, 2024, 12:00 AM