CVE-2024-21543

HIGH

djoser < 2.3.0 - Authentication Bypass via Database Query Fallback

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.1
EPSS 0.0015
EPSS Percentile 35.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-287 CWE-295
Status published
Products (2)
n/a/djoser < 2.3.0
pypi/djoser 0 - 2.3.0PyPI
Published Dec 13, 2024
Tracked Since Feb 18, 2026