CVE-2024-39329
Django vulnerable to user enumeration attack
Reported by mitre · Published July 10, 2024
django is fixed in 5.0.7 and 4.2.14 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| django | PyPI | 5.0.7, 4.2.14 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| djangoproject | django | |
| n/a | n/a | * |
| PyPI | Django | 5.0, 4.2 |
| djangoproject | django | 5.0, 4.2 |
| chainguard | py3-django | 0 |
| wolfi | py3-django | 0 |
| alpine | py3-django | 0 |
Timeline
- Jul 9, 2024 CVE Published
- Jul 10, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (17 in total, the first dated here)
- Mar 9, 2026 Security Advisory (12 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Aug 10, 2026 Distribution Patch (6 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-39329
vulnetix vdb fixes CVE-2024-39329
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-39329/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-39329 advisory
- https://github.com/advisories/GHSA-x7q2-wr7g-xqmf advisory
- https://github.com/django/django/commit/07cefdee4a9d1fcd9a3a631cbd07c78defd1923b patch
- https://github.com/django/django/commit/156d3186c96e3ec2ca73b8b25dc2ef366e38df14 patch
- https://docs.djangoproject.com/en/dev/releases/security url
- https://github.com/django/django url
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-57.yaml advisory
- https://security.netapp.com/advisory/ntap-20240808-0005 advisory
- https://www.djangoproject.com/weblog/2024/jul/09/security-releases url
- https://security.netapp.com/advisory/ntap-20240808-0005/ url