CVE-2024-39329
JSON

5.3medium

Django vulnerable to user enumeration attack

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
1.01% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-x7q2-wr7g-xqmfBIT-DJANGO-2024-39329PYSEC-2024-57

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
djangoproject djangofrom 5.0 before 5.0.7, from 4.2 before 4.2.14CVE List, NVD
django (PyPI)from 5.0 before 5.0.7, from 4.2 before 4.2.14GitHub Advisory Database, PyPA Advisory Database
django (Bitnami)from 4.2.0 before 4.2.14, from 5.0.0 before 5.0.7Bitnami Vulnerability Database

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-208

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Se descubrió un problema en Django 5.0 anterior a 5.0.7 y 4.2 anterior a 4.2.14. El método django.contrib.auth.backends.ModelBackend.authenticate() permite a atacantes remotos enumerar usuarios mediante un ataque de sincronización que involucra solicitudes de inicio de sesión para usuarios con una contraseña inutilizable.

References

https://docs.djangoproject.com/en/dev/releases/security/advisory, vendor-advisory, web
https://groups.google.com/forum/#%21forum/django-announcepermissions-required, web
https://www.djangoproject.com/weblog/2024/jul/09/security-releases/advisory, article, vendor-advisory
https://security.netapp.com/advisory/ntap-20240808-0005/web
https://nvd.nist.gov/vuln/detail/CVE-2024-39329advisory, web
https://github.com/django/django/commit/07cefdee4a9d1fcd9a3a631cbd07c78defd1923bweb
https://github.com/django/django/commit/156d3186c96e3ec2ca73b8b25dc2ef366e38df14web
https://docs.djangoproject.com/en/dev/releases/securityweb
https://github.com/django/djangopackage
https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-57.yamlweb
https://security.netapp.com/advisory/ntap-20240808-0005web
https://www.djangoproject.com/weblog/2024/jul/09/security-releasesweb

Sources

SourceRecordLicence
CVE ListCVE-2024-39329 changed 2025-11-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-x7q2-wr7g-xqmf changed 2026-09-10CC-BY-4.0
NVDCVE-2024-39329 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-57 changed 2026-06-10CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-DJANGO-2024-39329 changed 2026-09-08Apache-2.0