PT-2024-6224
CVE-2024-39329
·
Published
2024-06-23
·
Updated
2026-10-31
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Django versions 4.2 through 4.2.13
Django versions 5.0 through 5.0.6
Description
The issue allows remote attackers to enumerate users via a timing attack involving login requests for users with an unusable password. This is due to the
django.contrib.auth.backends.ModelBackend.authenticate() method. The vulnerability can be exploited to gain unauthorized access to protected information.Recommendations
For Django versions 4.2 through 4.2.13, update to version 4.2.14 or later.
For Django versions 5.0 through 5.0.6, update to version 5.0.7 or later.
As a temporary workaround, consider restricting access to the
django.contrib.auth.backends.ModelBackend.authenticate() method until a patch is available. Found an issue in the description? Have something to add? Feel free to write us 👾