Back
CVE-2019-12781
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…
Medium5.3EPSS 1.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.7% · top 23% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-6c7v-2f49-8h26 (opens in a new tab)
References (12)
- https://docs.djangoproject.com/en/dev/releases/security/ (opens in a new tab)x_refsource_MISCx_transferred
- https://groups.google.com/forum/#%21topic/django-announce/Is4kLY9ZcZQ (opens in a new tab)x_refsource_MISCx_transferred
- https://www.djangoproject.com/weblog/2019/jul/01/security-releases/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20190701 Django: CVE-2019-12781: Incorrect HTTP detection with reverse-proxy connecting via HTTPS (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-4043-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 109018 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://security.netapp.com/advisory/ntap-20190705-0002/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-4476 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20190708 [SECURITY] [DSA 4476-1] python-django security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- FEDORA-2019-d9aa58d863 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- openSUSE-SU-2019:1839 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2019:1872 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6c7v-2f49-8h26 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-12781)Record last updated .