Django allows enumeration of user e-mail addresses
Moderate severity
GitHub Reviewed
Published
Oct 8, 2024
to the GitHub Advisory Database
•
Updated Oct 30, 2024
Package
Affected versions
>= 5.1, < 5.1.1
>= 5.0, < 5.0.9
< 4.2.16
Patched versions
5.1.1
5.0.9
4.2.16
Description
Published by the National Vulnerability Database
Oct 8, 2024
Published to the GitHub Advisory Database
Oct 8, 2024
Reviewed
Oct 8, 2024
Last updated
Oct 30, 2024
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