~ / search / GHSA-rrqc-c2jx-6jgv

GHSA-rrqc-c2jx-6jgv

Django allows enumeration of user e-mail addresses

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-45231

Packages

EcosystemPackageAffectedFixed in
PyPI Django >= 5.1, < 5.1.1 5.1.1
PyPI Django >= 5.0, < 5.0.9 5.0.9
PyPI Django < 4.2.16 4.2.16

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.