PT-2024-31489

CVE-2024-45231

·

Published

2024-09-03

·

Updated

2026-10-31

Description by

CVSS 4.0
6.3
Medium
MetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Django versions 4.2.16, 5.0.9, and 5.1.1
Description An issue was discovered in the django.contrib.auth.forms.PasswordResetForm class, which allows remote attackers to enumerate user e-mail addresses by sending password reset requests and observing the outcome when e-mail sending is consistently failing. This occurs due to unhandled email sending failures. Exceptions occurring during password reset email sending are now handled and logged using the "django.contrib.auth" logger.
Recommendations For Django versions 4.2.16, 5.0.9, and 5.1.1, update to a version where exceptions occurring during password reset email sending are handled and logged using the "django.contrib.auth" logger to mitigate the risk of user email enumeration. As a temporary workaround, consider implementing custom logging and exception handling for password reset email sending to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-RRQC-C2JX-6JGV
ALT-PU-2024-15283
ALT-PU-2025-10176
BIT-DJANGO-2024-45231
CLEANSTART-2024-DM95955
MGASA-2025-0039
OESA-2024-2278
OESA-2024-2279
OESA-2024-2280
OESA-2024-2281
OESA-2024-2282
OPENSUSE-SU-2024:0282-1
OPENSUSE-SU-2024:14310-1
OPENSUSE-SU-2024:14318-1
OPENSUSE-SU-2024_3139-1
OPENSUSE-SU-2024_3161-1
OPENSUSE-SU-2026:10005-1
OPENSUSE-SU-2026:11235-1
OPENSUSE-SU-2026:11248-1
OPENSUSE-SU-2026:11270-1
PYSEC-2026-1297
SUSE-SU-2024:3139-1
SUSE-SU-2024:3161-1
USN-6987-1
Found an issue in the description? Have something to add? Feel free to write us 👾