[USN-2169-2] Django regression

Marc Deslauriers marc.deslauriers at canonical.com
Wed Apr 23 04:35:53 UTC 2014

Ubuntu Security Notice USN-2169-2
April 23, 2014

python-django regression

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 14.04 LTS
- Ubuntu 13.10
- Ubuntu 12.10
- Ubuntu 12.04 LTS
- Ubuntu 10.04 LTS


USN-2169-1 introduced a regression in Django.

Software Description:
- python-django: High-level Python web development framework


USN-2169-1 fixed vulnerabilities in Django. The upstream security patch
for CVE-2014-0472 introduced a regression for certain applications. This
update fixes the problem.

Original advisory details:

 Benjamin Bach discovered that Django incorrectly handled dotted Python
 paths when using the reverse() function. An attacker could use this issue
 to cause Django to import arbitrary modules from the Python path, resulting
 in possible code execution. (CVE-2014-0472)
  Paul McMillan discovered that Django incorrectly cached certain pages that
 contained CSRF cookies. An attacker could possibly use this flaw to obtain
 a valid cookie and perform attacks which bypass the CSRF restrictions.
  Michael Koziarski discovered that Django did not always perform explicit
 conversion of certain fields when using a MySQL database. An attacker
 could possibly use this issue to obtain unexpected results. (CVE-2014-0474)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 14.04 LTS:
  python-django                   1.6.1-2ubuntu0.2

Ubuntu 13.10:
  python-django                   1.5.4-1ubuntu1.2

Ubuntu 12.10:
  python-django                   1.4.1-2ubuntu0.6

Ubuntu 12.04 LTS:
  python-django                   1.3.1-4ubuntu1.10

Ubuntu 10.04 LTS:
  python-django                   1.1.1-2ubuntu1.11

In general, a standard system update will make all the necessary changes.


Package Information:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20140423/d6ca1834/attachment.sig>

More information about the ubuntu-security-announce mailing list