Vulnerability · Published Jul 10, 2024 · Assigned by mitre

CVE-2024-39329

Medium 5.3

In plain English

A medium-severity security flaw in the py3-django package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.9%top 40.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20py3-django4.2.16-r0ALPINE-CVE-2024-39329
Alpine:v3.21py3-django4.2.16-r0ALPINE-CVE-2024-39329
Alpine:v3.22py3-django4.2.16-r0ALPINE-CVE-2024-39329
Alpine:v3.23py3-django4.2.16-r0ALPINE-CVE-2024-39329
Alpine:v3.24py3-django4.2.16-r0ALPINE-CVE-2024-39329
Debian:12python-django3:3.2.25-0+deb12u1DSA-6136-1
Debian:12python-django3:3.2.25-0+deb12u1DEBIAN-CVE-2024-39329
Debian:13python-django3:4.2.14-1DEBIAN-CVE-2024-39329
Debian:14python-django3:4.2.14-1DEBIAN-CVE-2024-39329
PyPIdjango4.2.14GHSA-x7q2-wr7g-xqmf
PyPIdjango4.2.14, 5.0.7PYSEC-2024-57
PyPIdjango5.0.7GHSA-x7q2-wr7g-xqmf
Ubuntu:22.04:LTSpython-django2:3.2.12-2ubuntu1.12USN-6888-1
Ubuntu:22.04:LTSpython-django2:3.2.12-2ubuntu1.12UBUNTU-CVE-2024-39329
Ubuntu:24.04:LTSpython-django3:4.2.11-1ubuntu1.1UBUNTU-CVE-2024-39329
Ubuntu:24.04:LTSpython-django3:4.2.11-1ubuntu1.1USN-6888-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-208 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References