CVE
CVE-2024-45231
CVE-2024-45231MED 5.3EPSS 57%
CNA 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).
Affected versions
- django≥ 5.1, < 5.1.1Fixed in 5.1.1
- django≥ 5.0, < 5.0.9Fixed in 5.0.9
- django< 4.2.16Fixed in 4.2.16
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- docs.djangoproject.com/en/dev/releases/security/ · Vendor Advisory
- www.djangoproject.com/weblog/2024/sep/03/security-releases/ · Vendor Advisory
- github.com/advisories/GHSA-rrqc-c2jx-6jgv · Third Party Advisory
- osv.dev/vulnerability/GHSA-rrqc-c2jx-6jgv · Third Party Advisory
- github.com/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53 · Vendor Advisory
- github.com/django/django/commit/96d84047715ea1715b4bd1594e46122b8a77b9 · Vendor Advisory
- github.com/django/django/commit/bf4888d317ba4506d091eeac6e8b4f1fcc7311 · Vendor Advisory
- docs.djangoproject.com/en/dev/releases/security · Vendor Advisory
- www.djangoproject.com/weblog/2024/sep/03/security-releases · Vendor Advisory
- osv.dev/vulnerability/PYSEC-2026-1297 · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.