CVE-2024-45231
Django allows enumeration of user e-mail addresses
3.7
LOW
CVSS 3.1
EPSS 0.24%
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).
How to fix CVE-2024-45231
To remediate CVE-2024-45231, upgrade the affected package to a fixed version below.
- —upgrade to 4.2.16 or later
- —upgrade to 2:2.2.28-1~deb11u11 or later
- —upgrade to 5.1.1 or later
Is CVE-2024-45231 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- >= 4.2.0, < 4.2.16, >= 5.0.0, < 5.0.9, >= 5.1.0, < 5.2.5
- from 0, < 2:2.2.28-1~deb11u11
- >= 5.1, < 5.1.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | LOW3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |