Auth bypass in Djoser

CVE-2024-21543

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.

Vulnerability class: Broken Authentication

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N.

EPSS exploit prediction

EPSS: 0.005 (43.6th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 43.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-21543: held from 0.006 to 0.005.

EPSS over last 30 days · oldest: 0.006 · newest: 0.005 · change: -0.000

Affected products

  • Djoser — versions 0

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-21543?
CVE-2024-21543 is a high-severity vulnerability in Djoser, classified under Improper Authentication. CVSS score: 7.1/10. Published 2024-12-13.
How severe is CVE-2024-21543?
High severity. CVSS v3 base score is 7.1 out of 10.
Is CVE-2024-21543 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.