NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-21543: djoser Authentication Bypass

highCVSS 4.0 7.1 · 3.1 7.1GHSA-v49p-m6gh-747c

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 AUTHENTICATIONBACKENDS.

Published Dec 13, 2024 · Updated Feb 21, 2025

Affected packages

djoser

Ecosystem
PyPI
Affected
< 2.3.0
Fixed in
2.3.0
Check
pip show djoser

Advisory details

From the GitHub Advisory Database (CC BY 4.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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology