NetSight
high7.1

CVE-2024-21543

djoser Authentication Bypass

Impact

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

EcosystemPackageAffectedFixed in
pipdjoser< 2.3.02.3.0

Affected products

ProductAffected versions
Package Djoser
before 2.3.0

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References