CVE-2024-45231 json
Django allows enumeration of user e-mail addresses
published 2024-10-08 2 y ago modified 2026-09-08 2 mo ago also BIT-django-2024-45231 , EUVD-2024-3135 , GHSA-rrqc-c2jx-6jgv , PYSEC-2026-1297
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- pypi django 4.2.16, 5.0.9, 5.1.1
- bitnami django 4.2.16, 5.0.9, 5.2.5
- djangoproject django 4.2.16, 5.0.9, 5.1.1
- python-django Debian 12 3:3.2.25-0+deb12u1
- python-django Debian 14, Debian 13 3:4.2.16-1
debian advisories DEBIAN-CVE-2024-45231
- python-django Ubuntu 20.04 LTS 2:2.2.12-1ubuntu0.25
- python-django Ubuntu 22.04 LTS 2:3.2.12-2ubuntu1.14
- python-django Ubuntu 24.04 LTS 3:4.2.11-1ubuntu1.3
- python-django Ubuntu Pro 18.04 LTS 1:1.11.11-1ubuntu1.21+esm7
ubuntu advisories UBUNTU-CVE-2024-45231
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-Django SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 4.2.11-150600.3.9.1
- python-Django openSUSE Leap 15.5 2.0.7-150000.1.33.1
suse advisories SUSE-SU-2024:3161-1SUSE-SU-2024:3139-1
- python-Django5 openSUSE Tumbleweed 5.2.16-1.1
- python-Django openSUSE Tumbleweed 5.2.16-1.1
- python-Django4 openSUSE Tumbleweed 4.2.30-4.1
- python-Django6 openSUSE Tumbleweed 6.0-1.1
- python-Django Package Hub 15 SP5, openSUSE Leap 15.5 2.2.28-bp155.7.18.1
- python-Django openSUSE Tumbleweed 5.1.1-1.1
- python-Django4 openSUSE Tumbleweed 4.2.16-1.1
opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:11248-1openSUSE-SU-2026:11235-1openSUSE-SU-2026:10005-1openSUSE-SU-2024:0282-1openSUSE-SU-2024:14318-1
- py3-django Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 4.2.16-r0
alpine advisories ALPINE-CVE-2024-45231
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-45231 updated cvss 3.7
python-django: Potential user email enumeration via response status on password reset
-
Red Hat Ansible Automation Platform 1.2 ansible-tower Red Hat Ansible Automation Platform 2 python-django, automation-controller, ansible-automation-platform-25/lightspeed-rhel8, ansible-automation-platform-24/ee-dellemc-openmanage-rhel8, ansible-automation-platform-24/platform-resource-runner-rhel8 Red Hat Certification for Red Hat Enterprise Linux 7 python-django Red Hat Discovery 1 discovery-server-container Red Hat OpenStack Platform 16.2 python-django20, python3-django20, python-django20-bash-completion Red Hat OpenStack Platform 17.1 python-django, python3-djangoaffected: no fix available “Fix deferred”
+3 more productsfewer
Red Hat Satellite 6 python-django, python2-django, python-django-bash-completion Red Hat Storage 3 python-django, python2-django, python-django-bash-completion Red Hat Update Infrastructure 4 for Cloud Providers python-django
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.79% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=5.1, <5.1.1 >=5.0, <5.0.9 <4.2.16 |
5.1.1 5.0.9 4.2.16 |
| bitnami | django | >=4.2.0, <4.2.16 >=5.0.0, <5.0.9 >=5.1.0, <5.2.5 |
4.2.16 5.0.9 5.2.5 |
Affected products
- djangoproject django
Classification
- Weakness
- Technology feeds
References
-
github.com
/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53ca
web, patch
-
github.com
/django/django/commit/96d84047715ea1715b4bd1594e46122b8a77b9e2
web, patch
-
github.com
/django/django/commit/bf4888d317ba4506d091eeac6e8b4f1fcc731199
web, patch
-
docs.djangoproject.com
/en/dev/releases/security/
vendor-advisory, advisory
-
djangoproject.com
/weblog/2024/sep/03/security-releases/
vendor-advisory, advisory
-
groups.google.com
/forum/#%21forum/django-announce
web, permissions-required
-
nvd.nist.gov
/vuln/detail/CVE-2024-45231
advisory, web
-
docs.djangoproject.com
/en/dev/releases/security
web
-
github.com
/django/django
package
-
djangoproject.com
/weblog/2024/sep/03/security-releases
web
-
pypi.org
/project/django
package
-
github.com
/advisories/GHSA-rrqc-c2jx-6jgv
advisory
Sources
- CVE List CVE-2024-45231
- GitHub Advisory GHSA-rrqc-c2jx-6jgv
- NVD CVE-2024-45231
- OSV BIT-django-2024-45231
- OSV PYSEC-2026-1297
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.