CVE-2024-21543

Publication date 13 December 2024

Last updated 18 March 2025


Ubuntu priority

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
djoser 24.10 oracular
Fixed 2.1.0-1ubuntu0.24.10.1
24.04 LTS noble
Fixed 2.1.0-1ubuntu0.24.04.1
22.04 LTS jammy
Fixed 2.1.0-1ubuntu0.22.04.1
20.04 LTS focal
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


elisehdy

Vulnerable code appears to have been introduced in v2.0.3