VDB
KO
LOW 3.7

GHSA-rrqc-c2jx-6jgv

Django allows enumeration of user e-mail addresses

Details

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).

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / django
Introduced in: 5.1 Fixed in: 5.1.1
Fix pip install --upgrade 'django>=5.1.1'
PyPI / django
Introduced in: 5.0 Fixed in: 5.0.9
Fix pip install --upgrade 'django>=5.0.9'
PyPI / django
Introduced in: 0 Fixed in: 4.2.16
Fix pip install --upgrade 'django>=4.2.16'

References