python-django vulnerabilities

Related Vulnerabilities: CVE-2017-7233   CVE-2017-7234  

Several security issues were fixed in Django.

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)

4 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 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

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