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

medium Nessus Plugin ID 108773
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


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


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.


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

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

Dependencies: ssh_get_info.nasl

Risk Information


Risk Factor: Low

Score: 1.4


Risk Factor: Medium

Base Score: 5

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


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