Debian: DSA-1905-1: New python-django packages fix denial of service
Summary
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:
Size/MD5 checksum: 1606 7d335038ed1c10264a8ae9089574397c
Size/MD5 checksum: 4649433 89353e3749668778f1370d2e444f3adc
Size/MD5 checksum: 15789 586cdeaa9d99dc74240a16d1c40803fb
Architecture independent packages:
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: dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show