An issue was discovered in Django v5.1.1, v5.0.9, and v4.2.16.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 9 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-203.
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | Django (PyPI) | 5.1 to before 5.1.1 | 5.1.1 | Patch available | GHSA-rrqc-c2jx-6jgv |
| — | Django (PyPI) | 5.0 to before 5.0.9 | 5.0.9 | Patch available | GHSA-rrqc-c2jx-6jgv |
| — | Django (PyPI) | before 4.2.16 | 4.2.16 | Patch available | GHSA-rrqc-c2jx-6jgv |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- Django (PyPI) Vendor— Affected 5.1 to before 5.1.1 Fixed in 5.1.1 Patch available GHSA-rrqc-c2jx-6jgv
- Django (PyPI) Vendor— Affected 5.0 to before 5.0.9 Fixed in 5.0.9 Patch available GHSA-rrqc-c2jx-6jgv
- Django (PyPI) Vendor— Affected before 4.2.16 Fixed in 4.2.16 Patch available GHSA-rrqc-c2jx-6jgv
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 4.2.0 to before 4.2.16; 5.0 to before 5.0.9 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:5.1:*:*:*:*:*:*:* | 5.1 | Vulnerable | djangoproject |
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 4.2.0 to before 4.2.16; 5.0 to before 5.0.9 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:5.1:*:*:*:*:*:*:* Versions 5.1 Vulnerable ·djangoproject
Remediation
- Fix · GHSA-rrqc-c2jx-6jgv Django (PyPI) Fixed in 5.1.1 Advisory →
- Fix · GHSA-rrqc-c2jx-6jgv Django (PyPI) Fixed in 5.0.9 Advisory →
- Fix · GHSA-rrqc-c2jx-6jgv Django (PyPI) Fixed in 4.2.16 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 1.2 | Affected | No fix yet: Fix deferred |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Certification for Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Discovery 1 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 16.2 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 17.1 | Affected | No fix yet: Fix deferred |
| Red Hat Satellite 6 | Affected | No fix yet: Fix deferred |
| Red Hat Storage 3 | Affected | No fix yet: Fix deferred |
| Red Hat Update Infrastructure 4 for Cloud Providers | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2024-45231
- 2026-10-03 Alias added: GHSA-rrqc-c2jx-6jgv
References
Advisory 3
Other 7
- https://groups.google.com/forum/#%21forum/django-announce
- https://github.com/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53ca
- https://github.com/django/django/commit/96d84047715ea1715b4bd1594e46122b8a77b9e2
- https://github.com/django/django/commit/bf4888d317ba4506d091eeac6e8b4f1fcc731199
- https://docs.djangoproject.com/en/dev/releases/security
- https://github.com/django/django
- https://www.djangoproject.com/weblog/2024/sep/03/security-releases
More djangoproject Django vulnerabilities
- TI-2022-15177 An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. CVSS 3.1CRITICAL 9.8
- TI-2020-05994 Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection… CVSS 3.1CRITICAL 9.8
- TI-2023-10198 An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0… CVSS 3.1HIGH 7.5
- TI-2019-14306 Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. CVSS 3.1CRITICAL 9.8
- TI-2019-10595 An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x… CVSS 3.0CRITICAL 9.8
- TI-2021-14006 Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-45231 · CVE Program
- CVE-2024-45231 · NVD
- FIRST EPSS
- GHSA-rrqc-c2jx-6jgv · GitHub Advisory Database · CC BY 4.0
- CVE-2024-45231 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences