USN-4043-1: Django vulnerabilities
1 July 2019
Several security issues were fixed in Django.
- python-django - High-level Python web development framework
It was discovered that Django incorrectly handled certain inputs.
An attacker could possibly use this issue to execute arbitrary code.
This issue only affected Ubuntu 18.04 LTS, Ubuntu 18.10 and Ubuntu 19.04.
Gavin Wahl discovered that Django incorrectly handled HTTP detection when used behind a reverse-proxy. Client requests made via HTTP would cause incorrect API results and would not be redirected to HTTPS, contrary to expectations. (CVE-2019-12781)
The problem can be corrected by updating your system to the following package versions:
In general, a standard system update will make all the necessary changes.