{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-45231","id":"CVE-2024-45231","title":"Django allows enumeration of user e-mail addresses","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).","descriptionLong":"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).","published":"2024-10-08T00:00:00.000Z","updated":"2026-11-17T02:45:18.521230730Z","reserved":"2024-08-24T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"4.0","score":null,"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":"low","source":"GitHub"},{"version":"4.0","score":null,"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":"low","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.1 <5.1.1",">=5.0 <5.0.9","<4.2.16"],"fixed":["5.1.1","5.0.9","4.2.16"],"advisory":"GHSA-rrqc-c2jx-6jgv"}],"cwes":["CWE-203","CWE-204"],"aliases":["BIT-django-2024-45231","GHSA-rrqc-c2jx-6jgv","PYSEC-2026-1297"],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["Vendor Advisory","web"]},{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":["Permissions Required","web"]},{"url":"https://www.djangoproject.com/weblog/2024/sep/03/security-releases/","tags":["Vendor Advisory","article"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45231.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45231","tags":["advisory"]},{"url":"https://github.com/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53ca","tags":["web","fix"]},{"url":"https://github.com/django/django/commit/96d84047715ea1715b4bd1594e46122b8a77b9e2","tags":["web","fix"]},{"url":"https://github.com/django/django/commit/bf4888d317ba4506d091eeac6e8b4f1fcc731199","tags":["web","fix"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://www.djangoproject.com/weblog/2024/sep/03/security-releases","tags":["web"]},{"url":"https://pypi.org/project/django","tags":["package"]},{"url":"https://github.com/advisories/GHSA-rrqc-c2jx-6jgv","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00788,"epssPercentile":0.56966,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-45231","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45231","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-45231","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rrqc-c2jx-6jgv","ok":true,"note":"GHSA-rrqc-c2jx-6jgv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-45231","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}