{
    "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": [
            {
                "url": "https://docs.djangoproject.com/en/dev/releases/security/",
                "refsource": "MISC",
                "name": "https://docs.djangoproject.com/en/dev/releases/security/"
            },
            {
                "refsource": "MISC",
                "name": "https://groups.google.com/forum/#!topic/django-announce/Is4kLY9ZcZQ",
                "url": "https://groups.google.com/forum/#!topic/django-announce/Is4kLY9ZcZQ"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://www.djangoproject.com/weblog/2019/jul/01/security-releases/",
                "url": "https://www.djangoproject.com/weblog/2019/jul/01/security-releases/"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20190701 Django: CVE-2019-12781: Incorrect HTTP detection with reverse-proxy connecting via HTTPS",
                "url": "http://www.openwall.com/lists/oss-security/2019/07/01/3"
            },
            {
                "refsource": "UBUNTU",
                "name": "USN-4043-1",
                "url": "https://usn.ubuntu.com/4043-1/"
            },
            {
                "refsource": "BID",
                "name": "109018",
                "url": "http://www.securityfocus.com/bid/109018"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20190705-0002/",
                "url": "https://security.netapp.com/advisory/ntap-20190705-0002/"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-4476",
                "url": "https://www.debian.org/security/2019/dsa-4476"
            },
            {
                "refsource": "BUGTRAQ",
                "name": "20190708 [SECURITY] [DSA 4476-1] python-django security update",
                "url": "https://seclists.org/bugtraq/2019/Jul/10"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2019-d9aa58d863",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL/"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1839",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1872",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html"
            }
        ]
    }
}