Debian DLA-2569-1 : python-django security update

medium Nessus Plugin ID 146666

Synopsis

The remote Debian host is missing a security update.

Description

It was discovered that there was a web cache poisoning attack in Django, a popular Python-based web development framework.

This was caused by the unsafe handling of ';' characters in Python's urllib.parse.parse_qsl method which had been backported to Django's codebase to fix some other security issues in the past.

For Debian 9 'Stretch', this problem has been fixed in version 1:1.10.7-2+deb9u11.

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

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2021/02/msg00030.html

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

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

Plugin Details

Severity: Medium

ID: 146666

File Name: debian_DLA-2569.nasl

Version: 1.5

Type: local

Agent: unix

Published: 2/22/2021

Updated: 1/19/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.0

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

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

CVSS Score Source: CVE-2021-23336

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.3

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python-django-common, cpe:/o:debian:debian_linux:9.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: 2/19/2021

Vulnerability Publication Date: 2/15/2021

Reference Information

CVE: CVE-2021-23336