Advisory

UBUNTU-CVE-2024-21543

Also known as: CVE-2024-21543

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.1, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Dates

Published
2024-12-13 05:15 UTC
Modified
2026-02-04 04:36 UTC

Affected packages and fixes

djoser

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.1.0-1ubuntu0.22.04.1 (ecosystem)

Fixed versions

2.1.0-1ubuntu0.22.04.1

Fix

  • Fixed version 2.1.0-1ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

djoser

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.1.0-1ubuntu0.24.04.1 (ecosystem)

Fixed versions

2.1.0-1ubuntu0.24.04.1

Fix

  • Fixed version 2.1.0-1ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences