cve.bz

CVE-2024-21543

5.7 mediumEPSS 0.5%

Medium (5.7). EPSS 0.5% chance of exploitation in the next 30 days. Fixed in djoser 2.3.0.

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.

Severity

CVSS 4.0

5.7 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

CVSS 3.1

7.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
EPSS
0.5% chance of exploitation in the next 30 days; higher than 45% of CVEs (scores of 2026-10-31)
CWEs
CWE-287, CWE-295
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v49p-m6gh-747cPyPIdjoser<2.3.02.3.0
PYSEC-2024-158PyPIdjoser<2.3.02.3.0

References

Check your stackJSON