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

critical Nessus Plugin ID 269725

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-4324 advisory.

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

Package : python-django Version : 2:2.2.28-1~deb11u9 CVE IDs : CVE-2025-59681 CVE-2025-59682 Debian Bug : 1116979

It was discovered that there were two vulnerabilities in Django, a popular web development framework:

* CVE-2025-59681: Fix a potential SQL injection in QuerySet.annotate(), alias(), aggregate() and extra(). These methods were subject to SQL injection in column aliases, using a suitably crafted dictionary via dictionary expansion as the
**kwargs passed to these methods on MySQL and MariaDB.

* CVE-2025-59682: Fix a potential partial directory-traversal vulnerability in archive.extract(). This function, used by startapp --template and startproject --template allowed partial directory-traversal via an archive with file paths sharing a common prefix with the target directory.

For Debian 11 bullseye, these problems have been fixed in version 2:2.2.28-1~deb11u9.

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 these issues 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-59681

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

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

Plugin Details

Severity: Critical

ID: 269725

File Name: debian_DLA-4324.nasl

Version: 1.1

Type: local

Agent: unix

Published: 10/8/2025

Updated: 10/8/2025

Supported Sensors: Continuous Assessment, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2025-59681

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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:python-django-doc, p-cpe:/a:debian:debian_linux:python3-django

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/7/2025

Vulnerability Publication Date: 10/1/2025

Reference Information

CVE: CVE-2025-59681, CVE-2025-59682