ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2024-21543

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12djoser
All versions before 2.1.0-1+deb12u1 (fixed in 2.1.0-1+deb12u1)
Debian:13djoser
All versions before 2.3.1-1 (fixed in 2.3.1-1)
Debian:14djoser
All versions before 2.3.1-1 (fixed in 2.3.1-1)

References