django
Affected
- introduced
5.1, fixed5.1.1(ecosystem)
Fixed versions
5.1.1
Fix
- Fixed version
5.1.1pip install --upgrade django==5.1.1
Advisory
Also known as: BIT-django-2024-45231, CVE-2024-45231, PYSEC-2026-1297
Django allows enumeration of user e-mail addresses
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).
Medium Basis: The source's own band: MODERATE
5.1, fixed 5.1.1 (ecosystem)5.1.1
5.1.1pip install --upgrade django==5.1.15.0, fixed 5.0.9 (ecosystem)5.0.9
5.0.9pip install --upgrade django==5.0.90, fixed 4.2.16 (ecosystem)4.2.16
4.2.16pip install --upgrade django==4.2.16Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0