CVE-2024-21543
djoser - security update
7.1
HIGH
CVSS 3.1
EPSS 0.15%
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.
How to fix CVE-2024-21543
To remediate CVE-2024-21543, upgrade the affected package to a fixed version below.
- —upgrade to 2.1.0-1+deb11u1 or later
- —upgrade to 2.1.0-1+deb11u1 or later
- —upgrade to 2.3.0 or later
- —upgrade to d33c3993c0c735f23cbedc60fa59fce69354f19d or later
Is CVE-2024-21543 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 2.1.0-1+deb11u1
- from 0, < 2.1.0-1+deb11u1
- from 0, < 2.3.0
- from 0, < d33c3993c0c735f23cbedc60fa59fce69354f19d | from 0, < 2.3.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |