USN-3254-1: Django vulnerabilities

Ubuntu Security Notice USN-3254-1

4th April, 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

Summary

Several security issues were fixed in Django.

Software description

  • python-django
    – High-level Python web development framework

Details

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 version:

Ubuntu 16.10:
python3-django

1.8.7-1ubuntu8.2
python-django

1.8.7-1ubuntu8.2
Ubuntu 16.04 LTS:
python3-django

1.8.7-1ubuntu5.5
python-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

To update your system, please follow these instructions:
https://wiki.ubuntu.com/Security/Upgrades.

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

References

CVE-2017-7233,

CVE-2017-7234

Leave a Reply