CVE-2024-21543

MEDIUM EPSS 41.7%
Published Dec 13, 20241y ago · Modified Jun 17, 20262w ago
5.7 CVSS 4.0
Medium
Find Similar
Published Dec 13, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

Description

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.

CVSS Details

Base Score
5.7
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
41.7% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 2

CWE-287 Improper Authentication Authentication
CWE-295

References 6

  • github.com https://github.com/sunscrapers/djoser/commit/d33c3993c0c735f23cbedc60fa59fce69354f19d
  • github.com https://github.com/sunscrapers/djoser/issues/795
  • github.com https://github.com/sunscrapers/djoser/pull/819
  • github.com https://github.com/sunscrapers/djoser/releases/tag/2.3.0
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/02/msg00023.html
  • security.snyk.io https://security.snyk.io/vuln/SNYK-PYTHON-DJOSER-8366540

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.