{"id":"CVE-2024-39329","published":"2024-07-10T00:00:00Z","modified":"2025-11-04T16:12:25Z","title":"An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00889,"percentile":0.60214,"provenance":"source"},"cwes":[{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":[]},{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":[]},{"url":"https://www.djangoproject.com/weblog/2024/jul/09/security-releases/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240808-0005/","tags":[]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":12.04},{"name":"CVSS severity","points":3.71}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-07-10T16:17:00.476005Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":[">=5.0, <5.0.7",">=4.2, <4.2.14"],"patched":["5.0.7","4.2.14"],"from":["GHSA-x7q2-wr7g-xqmf","PYSEC-2024-57"],"provenance":"source"}],"summary":{"text":"The flaw lies in the django.contrib.auth.backends.ModelBackend.authenticate() method of the Django authentication framework, affecting Django 5.0 before 5.0.7 and 4.2 before 4.2.14. An unauthenticated remote attacker can enumerate valid usernames by measuring response timing on login requests for accounts that have an unusable password, requiring no authentication, no user interaction, and no special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:03Z"},"euvd":{"id":"EUVD-2024-0041","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-django-cve-2013-1443","parents":[{"from":"CVE-2016-2513","to":"CVE-2024-39329","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["django/contrib/auth/hashers.py"],"commits":["https://github.com/django/django/commit/67b46ba7016da2d259c1ecc7d666d11f5e1cfaab","https://github.com/django/django/commit/af7d09b0c5c6ab68e629fd9baf736f9dd203b18e","https://github.com/django/django/commit/07cefdee4a9d1fcd9a3a631cbd07c78defd1923b","https://github.com/django/django/commit/156d3186c96e3ec2ca73b8b25dc2ef366e38df14"],"basis":"shared function","functions":["check_password"]},{"kind":"similar","provenance":"machine","score":0.45,"basis":"same package + description similarity"}]}]}}