CVE-2025-57833

Publication date 9 March 2025

Last updated 15 September 2025


Ubuntu priority

Cvss 3 Severity Score

7.1 · High

Score breakdown

An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias().

Read the notes from the security team

Status

Package Ubuntu Release Status
python-django 25.04 plucky
Fixed 3:4.2.18-1ubuntu1.4
24.04 LTS noble
Fixed 3:4.2.11-1ubuntu1.10
22.04 LTS jammy
Fixed 2:3.2.12-2ubuntu1.21
20.04 LTS focal
Fixed 2:2.2.12-1ubuntu0.29+esm3
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Notes


leosilva

not related to that CVE but while trying to build Django a FTBFS happened caused by LP: #2121448.

Severity score breakdown

Parameter Value
Base score 7.1 · High
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Scope Changed
Confidentiality High
Integrity impact Low
Availability impact None
Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-7736-1
    • Django vulnerability
    • 3 September 2025

Other references