ADVISORIES

Ubuntu Security Notice

USN-4043-1

python-django vulnerabilities

Details

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. (CVE-2019-12308)

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)

Affected packages

EcosystemPackageAffected versions
Ubuntu:16.04:LTSpython-django
All versions before 1.8.7-1ubuntu5.9 (fixed in 1.8.7-1ubuntu5.9)
Ubuntu:18.04:LTSpython-django
All versions before 1:1.11.11-1ubuntu1.4 (fixed in 1:1.11.11-1ubuntu1.4)

References