NetSight
medium3.7

CVE-2024-45231

Django allows enumeration of user e-mail addresses

Impact

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

Affected packages

EcosystemPackageAffectedFixed in
pipDjango>= 5.1, < 5.1.15.1.1

Affected products

VendorProductAffected versions
DjangoprojectDjango
from 4.2.0 before 4.2.16
from 5.0 before 5.0.9
Version 5.1

Weakness classification

References