ADVISORIES

Vulnerability

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.

6 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 2PyPI 2Ubuntu 2

Advisories in Ubuntu

  • UBUNTU-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…

    CVE-2024-21543 Ubuntu Updated 24 November 2026
  • USN-7354-1

    djoser vulnerability

    CVE-2024-21543 Ubuntu Updated 24 November 2026

References