{"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-02-10T04:41:34Z","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"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-12308"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-12781"}],"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":{"binaries":[{"binary_version":"1.8.7-1ubuntu5.9","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"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4043-1.json","cves_map":{"cves":[{"id":"CVE-2019-12781","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:16.04:LTS"}}},{"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":{"binaries":[{"binary_version":"1:1.11.11-1ubuntu1.4","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"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4043-1.json","cves_map":{"cves":[{"id":"CVE-2019-12308","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2019-12781","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:18.04:LTS"}}}],"schema_version":"1.7.3"}