{"id":"CVE-2019-12781","state":"PUBLISHED","title":"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 SECU","description":"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.","publishedAt":"2019-07-01T13:56:37.000Z","updatedAt":"2024-08-04T23:32:54.914Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://docs.djangoproject.com/en/dev/releases/security/","https://groups.google.com/forum/#%21topic/django-announce/Is4kLY9ZcZQ","https://www.djangoproject.com/weblog/2019/jul/01/security-releases/","http://www.openwall.com/lists/oss-security/2019/07/01/3","https://usn.ubuntu.com/4043-1/","http://www.securityfocus.com/bid/109018","https://security.netapp.com/advisory/ntap-20190705-0002/","https://www.debian.org/security/2019/dsa-4476","https://seclists.org/bugtraq/2019/Jul/10","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL/","http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html","http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:24.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/12xxx/CVE-2019-12781.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-12781","state":"PUBLISHED","datePublished":"2019-07-01T13:56:37.000Z","dateUpdated":"2024-08-04T23:32:54.914Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-06-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["x_refsource_MISC"]},{"url":"https://groups.google.com/forum/#%21topic/django-announce/Is4kLY9ZcZQ","tags":["x_refsource_MISC"]},{"url":"https://www.djangoproject.com/weblog/2019/jul/01/security-releases/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2019/07/01/3","name":"[oss-security] 20190701 Django: CVE-2019-12781: Incorrect HTTP detection with reverse-proxy connecting via HTTPS","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/4043-1/","name":"USN-4043-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/109018","name":"109018","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://security.netapp.com/advisory/ntap-20190705-0002/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.debian.org/security/2019/dsa-4476","name":"DSA-4476","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://seclists.org/bugtraq/2019/Jul/10","name":"20190708 [SECURITY] [DSA 4476-1] python-django security update","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL/","name":"FEDORA-2019-d9aa58d863","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html","name":"openSUSE-SU-2019:1839","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html","name":"openSUSE-SU-2019:1872","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-08-14T14:06:07.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-12781","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://docs.djangoproject.com/en/dev/releases/security/","refsource":"MISC","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"name":"https://groups.google.com/forum/#!topic/django-announce/Is4kLY9ZcZQ","refsource":"MISC","url":"https://groups.google.com/forum/#!topic/django-announce/Is4kLY9ZcZQ"},{"name":"https://www.djangoproject.com/weblog/2019/jul/01/security-releases/","refsource":"CONFIRM","url":"https://www.djangoproject.com/weblog/2019/jul/01/security-releases/"},{"name":"[oss-security] 20190701 Django: CVE-2019-12781: Incorrect HTTP detection with reverse-proxy connecting via HTTPS","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2019/07/01/3"},{"name":"USN-4043-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4043-1/"},{"name":"109018","refsource":"BID","url":"http://www.securityfocus.com/bid/109018"},{"name":"https://security.netapp.com/advisory/ntap-20190705-0002/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20190705-0002/"},{"name":"DSA-4476","refsource":"DEBIAN","url":"https://www.debian.org/security/2019/dsa-4476"},{"name":"20190708 [SECURITY] [DSA 4476-1] python-django security update","refsource":"BUGTRAQ","url":"https://seclists.org/bugtraq/2019/Jul/10"},{"name":"FEDORA-2019-d9aa58d863","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL/"},{"name":"openSUSE-SU-2019:1839","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html"},{"name":"openSUSE-SU-2019:1872","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://groups.google.com/forum/#%21topic/django-announce/Is4kLY9ZcZQ","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.djangoproject.com/weblog/2019/jul/01/security-releases/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2019/07/01/3","name":"[oss-security] 20190701 Django: CVE-2019-12781: Incorrect HTTP detection with reverse-proxy connecting via HTTPS","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://usn.ubuntu.com/4043-1/","name":"USN-4043-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.securityfocus.com/bid/109018","name":"109018","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20190705-0002/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.debian.org/security/2019/dsa-4476","name":"DSA-4476","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://seclists.org/bugtraq/2019/Jul/10","name":"20190708 [SECURITY] [DSA 4476-1] python-django security update","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL/","name":"FEDORA-2019-d9aa58d863","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html","name":"openSUSE-SU-2019:1839","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html","name":"openSUSE-SU-2019:1872","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T23:32:54.914Z"}}]}}}