VDB

CVE-2024-45231

CVE-2024-45231 PUBLISHED CVSS 5.3 MEDIUM

Django allows enumeration of user e-mail addresses

Reported by mitre · Published October 8, 2024

Django is fixed in 5.1.1, 5.0.9 and 4.2.16 (PyPI)

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).

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
DjangoPyPI5.1.1, 5.0.9, 4.2.16
djangodjangoproject5.1.1, 5.0.9, 4.2.16

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
n/an/an/a
PyPIDjango0, 5.0, 5.1
djangoprojectdjango
n/an/a*
alpinepy3-django0
djangoprojectdjango5.1, 4.2, 5.0

Timeline

  • Sep 3, 2024 CVE Published
  • Oct 8, 2024 PoC Published (2 in total, the first dated here)
  • Oct 9, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 14, 2024 Coalition ESS Score (14 in total, the first dated here)
  • Mar 17, 2025 CVE Updated
  • Mar 10, 2026 Security Advisory (10 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-45231
vulnetix vdb fixes CVE-2024-45231

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-45231/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›