USN-7354-1: djoser vulnerability

Publication date

17 March 2025

Overview

djoser could be made to bypass authentication checks during login.


Packages

  • djoser - REST implementation of Django authentication system

Details

Diego Cebrián discovered that djoser did not properly handle user
authentication. An attacker with valid credentials could possibly
use this to bypass authentication checks, such as two-factor
authentication, to gain unintended access.

Diego Cebrián discovered that djoser did not properly handle user
authentication. An attacker with valid credentials could possibly
use this to bypass authentication checks, such as two-factor
authentication, to gain unintended access.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.10 oracular python3-djoser –  2.1.0-1ubuntu0.24.10.1
24.04 noble python3-djoser –  2.1.0-1ubuntu0.24.04.1
22.04 jammy python3-djoser –  2.1.0-1ubuntu0.22.04.1
20.04 focal python3-djoser –  2.0.3-1ubuntu0.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›