~ / search / GHSA-v49p-m6gh-747c

GHSA-v49p-m6gh-747c

djoser Authentication Bypass

Source: GitHub Advisory Database (reviewed) High CVE-2024-21543

Packages

EcosystemPackageAffectedFixed in
PyPI djoser < 2.3.0 2.3.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.