CVE-2019-12781
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•MEDIUM•Score: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- v3.0•MEDIUM•Score: 5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 1.71%• Percentile: 76%
Techniques & Countermeasures
- CWE-319•Cleartext Transmission of Sensitive Information
The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.
Affected Systems
- alpine•py-django
< 1.11.22-r0 | < 1.11.22-r0 | < 1.11.22-r0 | < 1.11.22-r0
- alpine•py3-django
< 1.11.22-r0 | < 1.11.22-r0
- canonical•ubuntu_linux
16.04 | 18.04 | 18.10 | 19.04
- debian•python-django
< 1:1.11.22-1 | < 1:1.11.22-1 | < 1:1.11.22-1 | < 1:1.11.22-1
- debian•debian_linux
9.0
- djangoproject•django
≥ 1.11, < 1.11.22 | ≥ 2.1, < 2.1.10 | ≥ 2.2, < 2.2.3
- PyPI•django
≥ 2.1, < 2.1.10 | ≥ 2.2, < 2.2.3 | ≥ 1.11, < 1.11.22
References (25)
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2019-12781
- https://docs.djangoproject.com/en/dev/releases/security
- https://github.com/advisories/GHSA-6c7v-2f49-8h26
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-10.yaml
- https://groups.google.com/forum/#!topic/django-announce/Is4kLY9ZcZQ
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL
- https://security.netapp.com/advisory/ntap-20190705-0002
- https://usn.ubuntu.com/4043-1
- https://www.djangoproject.com/weblog/2019/jul/01/security-releases
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL/
- https://security-tracker.debian.org/tracker/CVE-2019-12781
- https://security.alpinelinux.org/vuln/CVE-2019-12781