CVE-2024-39329
MEDIUM 5.3CVSS 3.1Django vulnerable to user enumeration attack
An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. The django.contrib.auth.backends.ModelBackend.authenticate() method allows remote attackers to enumerate users via a timing attack involving login requests for users with an unusable password.
- Published
- 10 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-208
- Also known as
- BIT-django-2024-39329GHSA-x7q2-wr7g-xqmfPYSEC-2024-57
- Sources
- NVDJSONOSV GHSA-x7q2-wr7g-xqmfJSONOSV PYSEC-2024-57JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 4.2, < 4.2.14 | 4.2.14 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 5.0, < 5.0.7 | 5.0.7 |
| OSV | PyPI | django | >= 5.0, < 5.0.7 | 5.0.7 |
| OSV | PyPI | django | >= 4.2, < 4.2.14 | 4.2.14 |
| OSV | PyPI | django | >= 5.0, < 5.0.7; >= 4.2, < 4.2.14 | 5.0.7, 4.2.14 |
References
- https://docs.djangoproject.com/en/dev/releases/security/ · Vendor Advisory, WEB
- https://groups.google.com/forum/#%21forum/django-announce · Permissions Required, WEB
- https://www.djangoproject.com/weblog/2024/jul/09/security-releases/ · Vendor Advisory, WEB, ARTICLE
- https://security.netapp.com/advisory/ntap-20240808-0005/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-39329 · ADVISORY
- https://github.com/django/django/commit/07cefdee4a9d1fcd9a3a631cbd07c78defd1923b · WEB
- https://github.com/django/django/commit/156d3186c96e3ec2ca73b8b25dc2ef366e38df14 · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-57.yaml · WEB
- https://github.com/advisories/GHSA-x7q2-wr7g-xqmf · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 10 Jul 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Jul 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Jul 2024)