Skip to main content
← All vulnerabilities
CVE-2024-21543GHSA-V49P-M6GH-747CPYSEC-2024-158

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a djoser

    fixed in 2.3.0

  • djoserPyPI

    fixed in 2.3.0

  • djoserPyPI

    fixed in 2.3.0

References 5

security.snyk.io

GitHub · sunscrapers/djoser