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

medium Nessus Plugin ID 213987

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-4010 advisory.

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

Package : python-django Version : 2:2.2.28-1~deb11u4 CVE ID : CVE-2024-6923

The fix for CVE-2024-6923 in the python3.9 source package which was released as part of a suite of updates in DLA 3980-1 [0] introduced safer processing of input in the email module to order to increase the security around email header injection attacks.

This change inadvertedly broke sending emails when using lazy translation strings in the python-django package, however, resulting in the package no longer building from source.

As the previous behaviour of Python's email module can be enabled by passing the strict=False flag, the python-django package now does so Django detects and/or encodes newlines in its handling of outbound emails elsewhere.

For Debian 11 bullseye, this change has been made in version 2:2.2.28-1~deb11u4.

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

[0] https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html

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-2024-6923

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

Plugin Details

Severity: Medium

ID: 213987

File Name: debian_DLA-4010.nasl

Version: 1.1

Type: local

Agent: unix

Published: 1/11/2025

Updated: 1/11/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2024-6923

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

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: 1/10/2025

Vulnerability Publication Date: 8/1/2024

Reference Information

CVE: CVE-2024-6923