CVE-2024-45231
Medium
Description
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).
SeverityMedium
CVSS5.3
Exploit probability—
Product
Django
PublishedOct 8, 2024
First seenOct 8, 2024
Weakness typeCWE-203CWE-203
How to fix
Update
- djangoproject django4.2.16, 5.0.9 or later
- django5.1.1, 5.0.9, 4.2.16 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| djangoproject django | 4.2.0 ≤ v < 4.2.16, 5.0 ≤ v < 5.0.9, 5.1 | 4.2.16, 5.0.9 |
| djangoPyPI | 5.1 ≤ v < 5.1.1, 5.0 ≤ v < 5.0.9, v < 4.2.16 | 5.1.1, 5.0.9, 4.2.16 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.