{"id":"CVE-2019-12781","details":"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.","aliases":["GHSA-6c7v-2f49-8h26","PYSEC-2019-10"],"modified":"2026-05-15T12:03:50.253594178Z","published":"2019-07-01T14:15:10.847Z","related":["SUSE-SU-2019:2257-1","SUSE-SU-2019:2335-1","SUSE-SU-2019:2379-1","SUSE-SU-2019:3127-1","openSUSE-SU-2019:1839-1","openSUSE-SU-2019:1872-1","openSUSE-SU-2024:11205-1","openSUSE-SU-2024:13887-1","openSUSE-SU-2024:14208-1","openSUSE-SU-2026:10005-1"],"database_specific":{"unresolved_ranges":[{"source":"CPE_FIELD","vendor_product":"canonical:ubuntu_linux","cpes":["cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*"],"extracted_events":[{"last_affected":"16.04"},{"last_affected":"18.04"},{"last_affected":"18.10"},{"last_affected":"19.04"}]},{"source":"CPE_FIELD","vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"last_affected":"9.0"}]}]},"references":[{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html"},{"type":"WEB","url":"https://groups.google.com/forum/#%21topic/django-announce/Is4kLY9ZcZQ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL/"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/109018"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Jul/10"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20190705-0002/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4043-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4476"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2019/07/01/3"},{"type":"FIX","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"FIX","url":"https://www.djangoproject.com/weblog/2019/jul/01/security-releases/"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}