[USN-3254-1] Django vulnerabilities

Marc Deslauriers marc.deslauriers at canonical.com
Tue Apr 4 18:08:45 UTC 2017

Ubuntu Security Notice USN-3254-1
April 04, 2017

python-django vulnerabilities

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

- Ubuntu 16.10
- Ubuntu 16.04 LTS
- Ubuntu 14.04 LTS
- Ubuntu 12.04 LTS


Several security issues were fixed in Django.

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


It was discovered that Django incorrectly handled numeric redirect URLs. A
remote attacker could possibly use this issue to perform XSS attacks, and
to use a Django server as an open redirect. (CVE-2017-7233)

Phithon Gong discovered that Django incorrectly handled certain URLs when
the jango.views.static.serve() view is being used. A remote attacker could
possibly use a Django server as an open redirect. (CVE-2017-7234)

Update instructions:

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

Ubuntu 16.10:
  python-django                   1.8.7-1ubuntu8.2
  python3-django                  1.8.7-1ubuntu8.2

Ubuntu 16.04 LTS:
  python-django                   1.8.7-1ubuntu5.5
  python3-django                  1.8.7-1ubuntu5.5

Ubuntu 14.04 LTS:
  python-django                   1.6.11-0ubuntu1.1

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

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

  CVE-2017-7233, CVE-2017-7234

Package Information:

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

More information about the ubuntu-security-announce mailing list