Debian dla-4301 : python-django-doc - security update

high Nessus Plugin ID 264846

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 11 host has packages installed that are affected by a vulnerability as referenced in the dla-4301 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4301-1 [email protected] https://www.debian.org/lts/security/ Chris Lamb September 15, 2025 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : python-django Version : 2:2.2.28-1~deb11u8 CVE ID : CVE-2025-57833 Debian Bug : 1113865

It was discovered that there was a potential SQL injection attack in Django, a popular Python-based web development framework.

Specifically, the FilteredRelation class was vulnerable to an SQL injection through its use of column aliases. This could have been exploited using a suitably crafted dictionary that was controlled by an attacker, either with dictionary expansion via the **kwargs passed to QuerySet.annotate() or by using QuerySet.alias() directly.

For Debian 11 bullseye, this problem has been fixed in version 2:2.2.28-1~deb11u8.

We recommend that you upgrade your python-django packages.

For the detailed security status of python-django please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/python-django

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the python-django-doc packages.

See Also

http://www.nessus.org/u?22eb32f6

https://security-tracker.debian.org/tracker/CVE-2025-57833

https://packages.debian.org/source/bullseye/python-django

Plugin Details

Severity: High

ID: 264846

File Name: debian_DLA-4301.nasl

Version: 1.1

Type: local

Agent: unix

Published: 9/15/2025

Updated: 9/15/2025

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.8

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2025-57833

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:python3-django, p-cpe:/a:debian:debian_linux:python-django-doc

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 9/15/2025

Vulnerability Publication Date: 9/3/2025

Reference Information

CVE: CVE-2025-57833