Articles / Debian: New python-django p…

Debian: New python-django packages fix denial of service

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. Updated packages are available from security.debian.org.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA-1905-1                    security@debian.org
http://www.debian.org/security/                                 Nico Golde
October 10th, 2009                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : python-django
Vulnerability  : insufficient input validation
Problem type   : remote
Debian-specific: no
Debian bug     : #550457
CVE ID         : None yet

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.

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

For the testing distribution (squeeze), this problem will be fixed soon.

For the unstable distribution (sid), this problem has been fixed in
version 1.1.1-1.


We recommend that you upgrade your python-django packages.

Upgrade instructions
- --------------------

wget url
       will fetch the file for you
dpkg -i file.deb
       will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
       will update the internal database
apt-get upgrade
       will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 5.0 alias lenny
- --------------------------------

Debian (stable)
- ---------------

Stable updates are available for alpha, amd64, arm, armel, hppa, i386, ia64, mips, mipsel, powerpc, s390 and sparc.

Source archives:

 http://security.debian.org/pool/updates/main/p/python-django/python-django_1.0.2-1+lenny2.dsc
   Size/MD5 checksum:     1606 7d335038ed1c10264a8ae9089574397c
 http://security.debian.org/pool/updates/main/p/python-django/python-django_1.0.2.orig.tar.gz
   Size/MD5 checksum:  4649433 89353e3749668778f1370d2e444f3adc
 http://security.debian.org/pool/updates/main/p/python-django/python-django_1.0.2-1+lenny2.diff.gz
   Size/MD5 checksum:    15789 586cdeaa9d99dc74240a16d1c40803fb

Architecture independent packages:

 http://security.debian.org/pool/updates/main/p/python-django/python-django_1.0.2-1+lenny2_all.deb
   Size/MD5 checksum:  4706950 f01133963dbac73a87e9a209f85cb38d


 These files will probably be moved into the stable distribution on
 its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkrQzqUACgkQHYflSXNkfP/PLgCeLmloqB5o/rbm3qrPaOK19OaL
nz0An2Z8k0593OtQbHNL1Ov0SC4EBeUl
=5zCR
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Kigo Video Converter Ultimate for Mac

A tool for converting and editing videos.

Screenshot

Project Spotlight

Kid3

An efficient tagger for MP3, Ogg/Vorbis, and FLAC files.