Debian DSA-1905-1 : python-django - insufficient input validation

medium Nessus Plugin ID 44770

Language:

Synopsis

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

Description

The forms library of python-django, a high-level Python web development framework, is using a badly chosen regular expression when validating email addresses and URLs. An attacker can use this to perform denial of service attacks (100% CPU consumption) due to bad backtracking via a specially crafted email address or URL which is validated by the django forms library.

python-django in the oldstable distribution (etch), is not affected by this problem.

Solution

Upgrade the python-django packages.

For the stable distribution (lenny), this problem has been fixed in version 1.0.2-1+lenny2.

See Also

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

https://www.debian.org/security/2009/dsa-1905

Plugin Details

Severity: Medium

ID: 44770

File Name: debian_DSA-1905.nasl

Version: 1.10

Type: local

Agent: unix

Published: 2/24/2010

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

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

Vulnerability Information

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

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

Patch Publication Date: 10/10/2009

Reference Information

CVE: CVE-2009-3695

DSA: 1905