{"id":"CVE-2019-12781","published":"2019-07-01T13:56:37Z","modified":"2024-08-04T23:32:54Z","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","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01711,"percentile":0.77937,"provenance":"source"},"cwes":[],"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","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/4043-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/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","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://seclists.org/bugtraq/2019/Jul/10","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":15.59}]},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":[">=2.1, <2.1.10",">=2.2, <2.2.3",">=1.11, <1.11.22"],"patched":["2.1.10","2.2.3","1.11.22"],"from":["GHSA-6c7v-2f49-8h26","PYSEC-2019-10"],"provenance":"source"}],"summary":{"text":"The flaw is in Django, in the handling of HTTP requests when the SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings are used, affecting versions 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 and django.http.HttpRequest.scheme reports incorrect values when a client uses plain HTTP, which occurs when the proxy connects to Django over HTTPS.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:20Z"},"euvd":{"id":"EUVD-2019-0034","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-3498","published":"2019-01-09","fixed":"2.1.5","kev":false},{"cve":"CVE-2019-6975","published":"2019-02-11","fixed":"2.1.7","kev":false},{"cve":"CVE-2019-12308","published":"2019-06-03","fixed":"2.2.2","kev":false,"link":{"from":"CVE-2019-12308","to":"CVE-2019-12781","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"1.11.21","toFixed":"1.11.22","daysApart":28},{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"2.1.9","toFixed":"2.1.10","daysApart":28}]}},{"cve":"CVE-2019-12781","published":"2019-07-01","fixed":"2.2.3","kev":false},{"cve":"CVE-2019-14232","published":"2019-08-02","fixed":"2.2.4","kev":false},{"cve":"CVE-2019-14233","published":"2019-08-02","fixed":"2.2.4","kev":false},{"cve":"CVE-2019-14234","published":"2019-08-09","fixed":"2.2.4","kev":false}],"package":"PyPI:Django"}}