CVE-2019-12781
high
CVSS v3
—
CVSS v2
—
VIR risk
8.0
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.
Predictions
Exploit likelihood
30%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2019-12781
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2019-12781.html
Vendor advisory: arch — https://security.archlinux.org/ASA-201907-2
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 2.2.3-1 | |
| sles | affected | | |
| debian | bookworm | fixed | 1:1.11.22-1 |
| debian | bullseye | fixed | 1:1.11.22-1 |
| debian | forky | fixed | 1:1.11.22-1 |
| debian | sid | fixed | 1:1.11.22-1 |
| debian | trixie | fixed | 1:1.11.22-1 |
References
- 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://seclists.org/bugtraq/2019/Jul/10
- https://security.netapp.com/advisory/ntap-20190705-0002
- https://usn.ubuntu.com/4043-1
- https://www.debian.org/security/2019/dsa-4476
- https://www.djangoproject.com/weblog/2019/jul/01/security-releases
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html
- http://www.openwall.com/lists/oss-security/2019/07/01/3
- https://security.archlinux.org/ASA-201907-2
- https://www.suse.com/security/cve/CVE-2019-12781.html
- https://www.djangoproject.com/weblog/2019/jul/01/security-releases/
- https://docs.djangoproject.com/en/dev/releases/security/
- https://usn.ubuntu.com/4043-1/
- http://www.securityfocus.com/bid/109018
- https://security.netapp.com/advisory/ntap-20190705-0002/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL/
- https://security-tracker.debian.org/tracker/CVE-2019-12781
Verify integrity in audit chain (admin only). AS-IS.