{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-12781","published":"2019-07-01T14:15:10.847000Z","last_modified":"2026-06-17T02:15:27.230000Z","status":"Modified","cvss":{"version":"3.0","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-319"],"cpes":[{"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version_start_including":"1.11","version_end_excluding":"1.11.22"},{"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version_start_including":"2.1","version_end_excluding":"2.1.10"},{"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version_start_including":"2.2","version_end_excluding":"2.2.3"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"16.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"18.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"18.10"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"19.04"},{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"}],"cpes_truncated":false,"vendors":["djangoproject","canonical","debian"],"products":["djangoproject/django","canonical/ubuntu_linux","debian/debian_linux"],"epss":{"score":0.01711,"percentile":0.77825,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-6c7v-2f49-8h26","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"2.1","fixed":"2.1.10"}],"versions":["2.1","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.7","2.1.8","2.1.9"],"versions_truncated":false},{"advisory":"GHSA-6c7v-2f49-8h26","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"2.2","fixed":"2.2.3"}],"versions":["2.2","2.2.1","2.2.2"],"versions_truncated":false},{"advisory":"GHSA-6c7v-2f49-8h26","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"1.11","fixed":"1.11.22"}],"versions":["1.11","1.11.1","1.11.10","1.11.11","1.11.12","1.11.13","1.11.14","1.11.15","1.11.16","1.11.17","1.11.18","1.11.2","1.11.20","1.11.21","1.11.3","1.11.4","1.11.5","1.11.6","1.11.7","1.11.8","1.11.9"],"versions_truncated":false},{"advisory":"PYSEC-2019-10","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"2.1","fixed":"2.1.10"},{"introduced":"2.2","fixed":"2.2.3"},{"introduced":"1.11","fixed":"1.11.22"}],"versions":["1.11","1.11.1","1.11.2","1.11.3","1.11.4","1.11.5","1.11.6","1.11.7","1.11.8","1.11.9","1.11.10","1.11.11","1.11.12","1.11.13","1.11.14","1.11.15","1.11.16","1.11.17","1.11.18","1.11.20","1.11.21","2.1","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.7","2.1.8","2.1.9","2.2","2.2.1","2.2.2"],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2019-12781/","html_en":"/en/cve/CVE-2019-12781/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-12781","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-12781"},"untrusted":{"vendor_name":"Djangoproject","product_name":"Django","desc_en":"An issue was discovered in Django 1.11 before 1.11.22, 2.1 before 2.1.10, and 2.2 before 2.2.3. An HTTP request is not redirected to HTTPS when the SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings are used, and the proxy connects to Django via HTTPS. In other words, django.http.HttpRequest.scheme has incorrect behavior when a client uses HTTP.","affected":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html","tags":[]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2019/07/01/3","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/109018","tags":["Third Party Advisory"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["Patch","Vendor Advisory"]},{"url":"https://groups.google.com/forum/#%21topic/django-announce/Is4kLY9ZcZQ","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL/","tags":[]},{"url":"https://seclists.org/bugtraq/2019/Jul/10","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20190705-0002/","tags":["Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4043-1/","tags":["Third Party Advisory"]},{"url":"https://www.debian.org/security/2019/dsa-4476","tags":["Third Party Advisory"]},{"url":"https://www.djangoproject.com/weblog/2019/jul/01/security-releases/","tags":["Patch","Vendor Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:11270-1","url":"https://www.suse.com/support/update/","published":"2026-07-14T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"python313-Django5-5.2.16-1.1 on GA media"}},{"source":"suse","id":"openSUSE-SU-2026:11248-1","url":"https://www.suse.com/support/update/","published":"2026-07-10T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"python313-Django-5.2.16-1.1 on GA media"}},{"source":"suse","id":"openSUSE-SU-2026:11235-1","url":"https://www.suse.com/support/update/","published":"2026-07-09T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"python313-Django4-4.2.30-4.1 on GA media"}}]}