VULNERABILITY INTELLIGENCE
CVE-2024-21543
CVSS score7.1 HIGH
EPSS probability0.55%
CISA KEVNot currently listed
Published2024-12-13
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Description
Versions of the package djoser before 2.3.0 are vulnerable to Authentication Bypass when the authenticate() function fails. This is because the system falls back to querying the database directly, granting access to users with valid credentials, and eventually bypassing custom authentication checks such as two-factor authentication, LDAP validations, or requirements from configured AUTHENTICATION_BACKENDS.
Weakness classification
- report@snyk.io: CWE-287
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-295