
CVE catalog
CVE-2024-21543
djoser vulnerability
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.55% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | djoser | sid | 2.3.3-1 | fixed |
| Debian | djoser | forky | 2.3.3-1 | fixed |
| Debian | djoser | trixie | 2.3.1-1 | fixed |
| Debian | djoser | bookworm | 2.1.0-1+deb12u1 | fixed |
| Ubuntu | djoser | noble | 2.1.0-1ubuntu0.24.04.1 | fixed |
| Ubuntu | python3-djoser | noble | 2.1.0-1ubuntu0.24.04.1 | fixed |
| Ubuntu | djoser | pro | 2.0.1-2 | vulnerable |
| Ubuntu | djoser | pro | 2.0.3-1 | vulnerable |
| Ubuntu | djoser | pro | 2.0.3-1ubuntu0.1~esm1 | fixed |
| Ubuntu | djoser | 22.04 | 2.1.0-1 | vulnerable |
| Ubuntu | djoser | 22.04 | 2.1.0-1ubuntu0.22.04.1 | fixed |
| Ubuntu | djoser | 24.04 | 2.1.0-1 | vulnerable |
| Ubuntu | djoser | 24.04 | 2.1.0-1ubuntu0.24.04.1 | fixed |
| Ubuntu | djoser | pro | 2.0.1-2 | vulnerable |
| Ubuntu | djoser | pro | 2.0.3-1 | vulnerable |
| Ubuntu | djoser | pro | 2.0.3-1ubuntu0.1~esm1 | fixed |
| Ubuntu | djoser | 22.04 | 2.1.0-1 | vulnerable |
| Ubuntu | djoser | 22.04 | 2.1.0-1ubuntu0.22.04.1 | fixed |
| Ubuntu | djoser | 24.04 | 2.1.0-1 | vulnerable |
| Ubuntu | djoser | 24.04 | 2.1.0-1ubuntu0.24.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | djoser | source | sid | 2.3.1-1 | not yet assigned | Not reported | [1089915] |
| Debian | djoser | source | forky | 2.3.1-1 | not yet assigned | Not reported | [1089915] |
| Debian | djoser | source | trixie | 2.3.1-1 | not yet assigned | Not reported | [1089915] |
| Debian | djoser | source | bookworm | 2.1.0-1+deb12u1 | not yet assigned | Not reported | [1089915] |
| Ubuntu | djoser | deb | noble | 2.1.0-1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | python3-djoser | deb | noble | 2.1.0-1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | djoser | deb | pro | 2.0.3-1ubuntu0.1~esm1 | Not reported | USN-7354-1 | Not reported |
| Ubuntu | djoser | deb | 22.04 | 2.1.0-1ubuntu0.22.04.1 | Not reported | USN-7354-1 | Not reported |
| Ubuntu | djoser | deb | 24.04 | 2.1.0-1ubuntu0.24.04.1 | Not reported | USN-7354-1 | Not reported |
| Ubuntu | djoser | deb | pro | 2.0.3-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2024-21543 | Not reported |
| Ubuntu | djoser | deb | 22.04 | 2.1.0-1ubuntu0.22.04.1 | Not reported | UBUNTU-CVE-2024-21543 | Not reported |
| Ubuntu | djoser | deb | 24.04 | 2.1.0-1ubuntu0.24.04.1 | Not reported | UBUNTU-CVE-2024-21543 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-djoser]Fixed
Source package: [djoser]
Details (2)
2.1.0-1+deb12u1· all · bookwormFixed · Fixed:
2.1.0-1+deb12u1usn · djoser · debian · bookworm; usn · djoser · debian · 12
2.1.0-1+deb12u1· all · bookwormFixed · Fixed:
2.1.0-1+deb12u1usn · djoser · debian · bookworm; usn · djoser · debian · 12
[Debian 13 (Trixie)]
- [python3-djoser]Fixed
Source package: [djoser]
Details (2)
2.3.1-1· all · trixieFixed · Fixed:
2.3.1-1usn · djoser · debian · 13
2.3.1-1· all · trixieFixed · Fixed:
2.3.1-1usn · djoser · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-21543]
- [https://osv.dev/vulnerability/DLA-4060-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-21543]
- [https://osv.dev/vulnerability/USN-7354-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-21543]
- [https://ubuntu.com/security/notices/USN-7354-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]