{"id":"CVE-2024-45231","aliases":["CVE-2024-45231","GHSA-rrqc-c2jx-6jgv","BIT-DJANGO-2024-45231","PYSEC-2026-1297"],"related":[],"kind":"vulnerability","state":"published","title":"Django allows enumeration of user e-mail addresses","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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en Django v5.1.1, v5.0.9 y v4.2.16. La clase django.contrib.auth.forms.PasswordResetForm, cuando se utiliza en una vista que implementa flujos de restablecimiento de contraseña, permite a atacantes remotos enumerar las direcciones de correo electrónico de los usuarios mediante el envío de solicitudes de restablecimiento de contraseña y la observación del resultado (solo cuando el envío de correo electrónico falla constantemente).","source":"nvd"}],"published":"2024-10-08T00:00:00.000Z","modified":"2026-09-08T08:46:35.567Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-203","CWE-204"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.1","fixed":"5.1.1","status":"affected"},{"type":"custom","introduced":"5.0","fixed":"5.0.9","status":"affected"},{"type":"custom","introduced":"4.2","fixed":"4.2.16","status":"affected"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.1","status":"affected","fixed":"5.1.1"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.2.16"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.2.0","fixed":"4.2.16"},{"status":"affected","introduced":"5.0","fixed":"5.0.9"},{"status":"affected","version":"5.1"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.2.16"},{"type":"ecosystem","introduced":"5.0","status":"affected","fixed":"5.0.9"},{"type":"ecosystem","introduced":"5.1","status":"affected","fixed":"5.1.1"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"pysec"},{"ranges":[{"type":"semver","introduced":"4.2.0","status":"affected","fixed":"4.2.16"},{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.0.9"},{"type":"semver","introduced":"5.1.0","status":"affected","fixed":"5.2.5"}],"ecosystem":"Bitnami","package":"django","purl":"pkg:bitnami/django","source":"bitnami"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":["permissions-required","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.djangoproject.com/weblog/2024/sep/03/security-releases/","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45231","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53ca","tags":["fix","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/django/django/commit/96d84047715ea1715b4bd1594e46122b8a77b9e2","tags":["fix","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/django/django/commit/bf4888d317ba4506d091eeac6e8b4f1fcc731199","tags":["fix","web"],"sources":["ghsa","pysec"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/django/django","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://www.djangoproject.com/weblog/2024/sep/03/security-releases","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/django","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-rrqc-c2jx-6jgv","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-10-30T16:35:34.672Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45231","url":"https://www.cve.org/CVERecord?id=CVE-2024-45231","licence":"CVE Terms of Use","modified":"2025-03-17T17:30:18.301Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rrqc-c2jx-6jgv","url":"https://github.com/advisories/GHSA-rrqc-c2jx-6jgv","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:34.018Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45231","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45231","licence":"Public domain","modified":"2026-06-17T07:53:48.917Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1297","url":"https://osv.dev/vulnerability/PYSEC-2026-1297","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:34.018Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DJANGO-2024-45231","url":"https://osv.dev/vulnerability/BIT-DJANGO-2024-45231","licence":"Apache-2.0","modified":"2026-09-08T08:46:35.567Z"}],"updatedAt":"2026-11-25T22:58:46.189Z","epss":{"score":0.00788,"percentile":0.57371,"date":"2026-12-01T12:00:22.000Z"}}