djoser
Affected
- introduced
0, fixed2.3.0(ecosystem)
Fixed versions
2.3.0
Fix
- Fixed version
2.3.0pip install --upgrade djoser==2.3.0
Advisory
Also known as: CVE-2024-21543, PYSEC-2024-158
djoser Authentication Bypass
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.
High Basis: The source's own band: HIGH
0, fixed 2.3.0 (ecosystem)2.3.0
2.3.0pip install --upgrade djoser==2.3.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0