Debian DSA-2529-1 : python-django - several vulnerabilities

medium Nessus Plugin ID 61538

Synopsis

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

Description

Jeroen Dekkers and others reported several vulnerabilities in Django, a Python Web framework. The Common Vulnerabilities and Exposures project defines the following issues :

- CVE-2012-3442 Two functions do not validate the scheme of a redirect target, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via a data: URL.

- CVE-2012-3443 The ImageField class completely decompresses image data during image validation, which allows remote attackers to cause a denial of service (memory consumption) by uploading an image file.

- CVE-2012-3444 The get_image_dimensions function in the image-handling functionality uses a constant chunk size in all attempts to determine dimensions, which allows remote attackers to cause a denial of service (process or thread consumption) via a large TIFF image.

Solution

Upgrade the python-django packages.

For the stable distribution (squeeze), this problem has been fixed in version 1.2.3-3+squeeze3.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683364

https://security-tracker.debian.org/tracker/CVE-2012-3442

https://security-tracker.debian.org/tracker/CVE-2012-3443

https://security-tracker.debian.org/tracker/CVE-2012-3444

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

https://www.debian.org/security/2012/dsa-2529

Plugin Details

Severity: Medium

ID: 61538

File Name: debian_DSA-2529.nasl

Version: 1.9

Type: local

Agent: unix

Published: 8/15/2012

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/14/2012

Reference Information

CVE: CVE-2012-3442, CVE-2012-3443, CVE-2012-3444

BID: 54742

DSA: 2529