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).
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45231.json",
"cna_assigner": "mitre"
}{
"extracted_events": [
{
"introduced": "4.2.0"
},
{
"fixed": "4.2.16"
},
{
"introduced": "0"
},
{
"last_affected": "5.1"
},
{
"introduced": "5.0"
},
{
"fixed": "5.0.9"
}
],
"cpe": [
"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"cpe:2.3:a:djangoproject:django:5.1:*:*:*:*:*:*:*"
],
"source": [
"CPE_RANGE",
"CPE_STRING"
]
}