CVE-2024-21543CWE-287

Versions of the package djoser before 2.3.0 are vulnerable to Authentication Bypass when the authenticate() function fails

Medium · published December 13, 2024

CVSS v4.0
5.7
EPSS
1%
Percentile
45.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.7 · MEDIUM
Vector
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
EPSS
0.00546 · 45.0th percentile
Weakness
CWE-287 · Improper Authentication
Published
2024-12-13T05:00Z
EPSS history
Timeline
  • 13 DEC 05:00Z
    Versions of the package djoser before 2.3.0 are vulnerable to Authentication Bypass when the authenticate() function fails
    cvelistv5