CVE-2024-21543

published 13 Dec 2024 · updated 20 Feb 2025

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

7.1HighCVSS 7.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.3.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<2.3.02.3.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-21543 severity on Zeptric[![CVE-2024-21543](https://zeptric.io/badge/cve/CVE-2024-21543.svg)](https://zeptric.io/cve/CVE-2024-21543)