Debian dla-3191 : python-django - security update

medium Nessus Plugin ID 167780

Synopsis

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

Description

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

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-3191-1 [email protected] https://www.debian.org/lts/security/ Chris Lamb November 17, 2022 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : python-django Version : 1:1.11.29-1+deb10u4 CVE IDs : CVE-2021-45452 CVE-2022-22818 CVE-2022-23833 Debian Bugs : 1003113 1004752

Multiple issues were discovered in Django, a Python-based web development framework:

* CVE-2021-45452: Storage.save allowed directory traversal if crafted filenames were passed directlyto it.

* CVE-2022-22818: The {% debug %} template tag did not properly encode the current context. This may lead to a cross-site scripting (XSS) vulnerability.

* CVE-2022-23833: The HTTP MultiPartParser had a issue whereby certain inputs to multipart forms could result in an infinite loop when parsing uploaded files.

For Debian 10 buster, these problems have been fixed in version 1:1.11.29-1+deb10u4.

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 packages.

See Also

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

https://security-tracker.debian.org/tracker/CVE-2021-45452

https://security-tracker.debian.org/tracker/CVE-2022-22818

https://security-tracker.debian.org/tracker/CVE-2022-23833

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

Plugin Details

Severity: Medium

ID: 167780

File Name: debian_DLA-3191.nasl

Version: 1.4

Type: local

Agent: unix

Published: 11/17/2022

Updated: 1/22/2025

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

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2021-45452

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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

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

CVSS Score Source: CVE-2022-22818

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python-django-common, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:python-django, 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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/17/2022

Vulnerability Publication Date: 1/5/2022

Reference Information

CVE: CVE-2021-45452, CVE-2022-22818, CVE-2022-23833