{"id":"USN-4043-1","summary":"python-django vulnerabilities","details":"It was discovered that Django incorrectly handled certain inputs.\nAn attacker could possibly use this issue to execute arbitrary code.\nThis issue only affected Ubuntu 18.04 LTS, Ubuntu 18.10 and Ubuntu 19.04.\n(CVE-2019-12308)\n\nGavin 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)\n","modified":"2026-04-24T09:03:37.093674Z","published":"2019-07-01T11:02:10Z","related":["UBUNTU-CVE-2019-12308","UBUNTU-CVE-2019-12781"],"upstream":["CVE-2019-12308","CVE-2019-12781","UBUNTU-CVE-2019-12308","UBUNTU-CVE-2019-12781"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4043-1"}],"affected":[{"package":{"name":"python-django","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-django@1.8.7-1ubuntu5.9?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.7-1ubuntu5.9"}]}],"versions":["1.7.9-1ubuntu5","1.8.5-2ubuntu1","1.8.7-1ubuntu1","1.8.7-1ubuntu2","1.8.7-1ubuntu3","1.8.7-1ubuntu4","1.8.7-1ubuntu5","1.8.7-1ubuntu5.1","1.8.7-1ubuntu5.2","1.8.7-1ubuntu5.4","1.8.7-1ubuntu5.5","1.8.7-1ubuntu5.6","1.8.7-1ubuntu5.7","1.8.7-1ubuntu5.8"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-django","binary_version":"1.8.7-1ubuntu5.9"},{"binary_name":"python-django-common","binary_version":"1.8.7-1ubuntu5.9"},{"binary_name":"python3-django","binary_version":"1.8.7-1ubuntu5.9"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:16.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4043-1.json"}},{"package":{"name":"python-django","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-django@1:1.11.11-1ubuntu1.4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.11.11-1ubuntu1.4"}]}],"versions":["1:1.11.4-1ubuntu1","1:1.11.6-1ubuntu1","1:1.11.9-1ubuntu1","1:1.11.11-1ubuntu1","1:1.11.11-1ubuntu1.1","1:1.11.11-1ubuntu1.2","1:1.11.11-1ubuntu1.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-django","binary_version":"1:1.11.11-1ubuntu1.4"},{"binary_name":"python-django-common","binary_version":"1:1.11.11-1ubuntu1.4"},{"binary_name":"python3-django","binary_version":"1:1.11.11-1ubuntu1.4"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4043-1.json"}}],"schema_version":"1.7.5"}