# CVE-2024-21543: python3-djoser: Versions of the package djoser before 2.3.0 are vulnerable toAuthentication Bypass when the authenticate() function f...

CVE-2024-21543 is fixed in 2 products on 1 platform, first by python3-djoser 2.0.3-1ubuntu0.1~esm1, released December 12, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-21543
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0055
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 12, 2024

## Description

Versions of the package djoser before 2.3.0 are vulnerable toAuthentication Bypass when the authenticate() function fails. This isbecause the system falls back to querying the database directly, grantingaccess to users with valid credentials, and eventually bypassing customauthentication checks such as two-factor authentication, LDAP validations,or requirements from configured AUTHENTICATION_BACKENDS.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | djoser Debian 11.6 (bullseye) | 2.1.0-1+deb11u1 | [DLA-4060-1](https://patchblox.com/security/data/fix/linux/dla-4060-1.md) | Feb 20, 2025 |
| Linux | djoser Debian 12.15 (bookworm) | 2.1.0-1+deb12u1 | [DEBIAN-CVE-2024-21543](https://patchblox.com/security/data/fix/linux/debian-cve-2024-21543.md) | Dec 13, 2024 |
| Linux | djoser Debian 13.5 (trixie) | 2.3.1-1 | [DEBIAN-CVE-2024-21543](https://patchblox.com/security/data/fix/linux/debian-cve-2024-21543.md) | Dec 13, 2024 |
| Linux | djoser Debian 14 | 2.3.1-1 | [DEBIAN-CVE-2024-21543](https://patchblox.com/security/data/fix/linux/debian-cve-2024-21543.md) | Dec 13, 2024 |
| Linux | python3-djoser Ubuntu 20.04 LTS (focal) | 2.0.3-1ubuntu0.1~esm1 | [python3-djoser 2.0.3-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-djoser-2.0.3-1ubuntu0.1-esm1.md) | Dec 12, 2024 |
| Linux | python3-djoser Ubuntu 22.04.1 LTS (jammy) | 2.1.0-1ubuntu0.22.04.1 | [python3-djoser 2.1.0-1ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-djoser-2.1.0-1ubuntu0.22.04.1.md) | Dec 12, 2024 |
| Linux | python3-djoser Ubuntu 24.04.5 LTS (noble) | 2.1.0-1ubuntu0.24.04.1 | [python3-djoser 2.1.0-1ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-djoser-2.1.0-1ubuntu0.24.04.1.md) | Dec 12, 2024 |
| Linux | python3-djoser Ubuntu 24.10 (oracular) | 2.1.0-1ubuntu0.24.10.1 | [python3-djoser 2.1.0-1ubuntu0.24.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-python3-djoser-2.1.0-1ubuntu0.24.10.1.md) | Jan 16, 2026 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
