USN-2212-1: Django vulnerabilities

Publication date

15 May 2014

Overview

Django applications could be made to expose sensitive information over the network.


Packages

Details

Stephen Stewart, Michael Nelson, Natalia Bidart and James Westby
discovered that Django improperly removed Vary and Cache-Control headers
from HTTP responses when replying to a request from an Internet Explorer
or Chrome Frame client. An attacker may use this to retrieve private data
or poison caches. This update removes workarounds for bugs in Internet
Explorer 6 and 7. (CVE-2014-1418)

Peter Kuma and Gavin Wahl discovered that Django did not correctly
validate some malformed URLs, which are accepted by some browsers. An
attacker may use this to cause unexpected redirects. An update has been
provided for 12.04 LTS, 12.10, 13.10, and 14.04 LTS; this issue remains
unfixed for 10.04 LTS as no "is_safe_url()" functionality existed in
this version.

Stephen Stewart, Michael Nelson, Natalia Bidart and James Westby
discovered that Django improperly removed Vary and Cache-Control headers
from HTTP responses when replying to a request from an Internet Explorer
or Chrome Frame client. An attacker may use this to retrieve private data
or poison caches. This update removes workarounds for bugs in Internet
Explorer 6 and 7. (CVE-2014-1418)

Peter Kuma and Gavin Wahl discovered that Django did not correctly
validate some malformed URLs, which are accepted by some browsers. An
attacker may use this to cause unexpected redirects. An update has been
provided for 12.04 LTS, 12.10, 13.10, and 14.04 LTS; this issue remains
unfixed for 10.04 LTS as no "is_safe_url()" functionality existed in
this version.

Update instructions

After a standard system update you need to restart Django applications to make all the necessary changes.

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
14.04 trusty python-django –  1.6.1-2ubuntu0.3
13.10 saucy python-django –  1.5.4-1ubuntu1.3
12.10 quantal python-django –  1.4.1-2ubuntu0.7
12.04 precise python-django –  1.3.1-4ubuntu1.11
10.04 lucid python-django –  1.1.1-2ubuntu1.12

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›