CVE Vulnerabilities

CVE-2024-21543

Improper Authentication

Published: Dec 13, 2024 | Modified: Feb 20, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Affected Software

NameVendorStart VersionEnd Version
DjoserUbuntuesm-apps/focal*
DjoserUbuntuesm-apps/jammy*
DjoserUbuntuesm-apps/noble*
DjoserUbuntufocal*
DjoserUbuntujammy*
DjoserUbuntunoble*
DjoserUbuntuoracular*
DjoserUbuntuupstream*

Potential Mitigations

References