Debian DSA-4161-1 : python-django - security update

medium Nessus Plugin ID 108773

Synopsis

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

Description

James Davis discovered two issues in Django, a high-level Python web development framework, that can lead to a denial-of-service attack. An attacker with control on the input of the django.utils.html.urlize() function or django.utils.text.Truncator's chars() and words() methods could craft a string that might stuck the execution of the application.

Solution

Upgrade the python-django packages.

For the oldstable distribution (jessie), these problems have been fixed in version 1.7.11-1+deb8u3.

For the stable distribution (stretch), these problems have been fixed in version 1:1.10.7-2+deb9u1.

See Also

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

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

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

https://www.debian.org/security/2018/dsa-4161

Plugin Details

Severity: Medium

ID: 108773

File Name: debian_DSA-4161.nasl

Version: 1.4

Type: local

Agent: unix

Published: 4/2/2018

Updated: 11/13/2018

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

Risk Information

VPR

Risk Factor: Low

Score: 1.4

CVSS v2

Risk Factor: Medium

Base Score: 5

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

CVSS v3

Risk Factor: Medium

Base Score: 5.3

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python-django, cpe:/o:debian:debian_linux:8.0, cpe:/o:debian:debian_linux:9.0

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

Patch Publication Date: 4/1/2018

Reference Information

CVE: CVE-2018-7536, CVE-2018-7537

DSA: 4161