CVE-2019-12781
CVE-2019-12781
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 5.3 · Medium · EPSS 1.7% · Fix available
- Published
- Updated
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
python-django Debian:12
- Affected ranges
- ECOSYSTEM: < 1:1.11.22-1
Update to 1:1.11.22-1
python-django Debian:13
- Affected ranges
- ECOSYSTEM: < 1:1.11.22-1
Update to 1:1.11.22-1
python-django Debian:14
- Affected ranges
- ECOSYSTEM: < 1:1.11.22-1
Update to 1:1.11.22-1
django PyPI
- Versions
- 2.1
- 2.1.1
- 2.1.2
- 2.1.3
- 2.1.4
- 2.1.5
- 2.1.7
- 2.1.8
- 2.1.9
- Affected ranges
- ECOSYSTEM: ≥ 2.1, < 2.1.10
Update to 2.1.10
django PyPI
- Versions
- 2.2
- 2.2.1
- 2.2.2
- Affected ranges
- ECOSYSTEM: ≥ 2.2, < 2.2.3
Update to 2.2.3
django PyPI
- Versions
- 1.11
- 1.11.1
- 1.11.10
- 1.11.11
- 1.11.12
- 1.11.13
- 1.11.14
- 1.11.15
- 1.11.16
- 1.11.17
- 1.11.18
- 1.11.2
- 1.11.20
- 1.11.21
- 1.11.3
- 1.11.4
- 1.11.5
- 1.11.6
- 1.11.7
- 1.11.8
- 1.11.9
- Affected ranges
- ECOSYSTEM: ≥ 1.11, < 1.11.22
Update to 1.11.22
django PyPI
- Versions
- 1.11
- 1.11.1
- 1.11.2
- 1.11.3
- 1.11.4
- 1.11.5
- 1.11.6
- 1.11.7
- 1.11.8
- 1.11.9
- 1.11.10
- 1.11.11
- 1.11.12
- 1.11.13
- 1.11.14
- 1.11.15
- 1.11.16
- 1.11.17
- 1.11.18
- 1.11.20
- 1.11.21
- 2.1
- 2.1.1
- 2.1.2
- 2.1.3
- 2.1.4
- 2.1.5
- 2.1.7
- 2.1.8
- 2.1.9
- 2.2
- 2.2.1
- 2.2.2
- Affected ranges
- ECOSYSTEM: ≥ 2.1, < 2.1.10 ∪ ≥ 2.2, < 2.2.3 ∪ ≥ 1.11, < 1.11.22
Update to 2.1.10; Update to 2.2.3; Update to 1.11.22
python-django Ubuntu:Pro:14.04:LTS
- Versions
- 1.5.4-1ubuntu1
- 1.6-1
- 1.6.1-1
- 1.6.1-2
- 1.6.1-2ubuntu0.1
- 1.6.1-2ubuntu0.2
- 1.6.1-2ubuntu0.3
- 1.6.1-2ubuntu0.4
- 1.6.1-2ubuntu0.5
- 1.6.1-2ubuntu0.6
- 1.6.1-2ubuntu0.8
- 1.6.1-2ubuntu0.9
- 1.6.1-2ubuntu0.10
- 1.6.1-2ubuntu0.11
- 1.6.1-2ubuntu0.12
- 1.6.1-2ubuntu0.13
- 1.6.1-2ubuntu0.14
- 1.6.1-2ubuntu0.15
- 1.6.1-2ubuntu0.16
- 1.6.11-0ubuntu1
- 1.6.11-0ubuntu1.1
- 1.6.11-0ubuntu1.2
- 1.6.11-0ubuntu1.3
- 1.6.11-0ubuntu1.3+esm1
- 1.6.11-0ubuntu1.3+esm2
- 1.6.11-0ubuntu1.3+esm3
- 1.6.11-0ubuntu1.3+esm4
- 1.6.11-0ubuntu1.3+esm5
- 1.6.11-0ubuntu1.3+esm6
- 1.6.11-0ubuntu1.3+esm7
- 1.6.11-0ubuntu1.3+esm8
- 1.6.11-0ubuntu1.3+esm9
- 1.6.11-0ubuntu1.3+esm10
- 1.6.11-0ubuntu1.3+esm11
- 1.6.11-0ubuntu1.3+esm12
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-django Ubuntu:16.04:LTS
- Versions
- 1.7.9-1ubuntu5
- 1.8.5-2ubuntu1
- 1.8.7-1ubuntu1
- 1.8.7-1ubuntu2
- 1.8.7-1ubuntu3
- 1.8.7-1ubuntu4
- 1.8.7-1ubuntu5
- 1.8.7-1ubuntu5.1
- 1.8.7-1ubuntu5.2
- 1.8.7-1ubuntu5.4
- 1.8.7-1ubuntu5.5
- 1.8.7-1ubuntu5.6
- 1.8.7-1ubuntu5.7
- 1.8.7-1ubuntu5.8
- Affected ranges
- ECOSYSTEM: < 1.8.7-1ubuntu5.9
Update to 1.8.7-1ubuntu5.9
python-django Ubuntu:18.04:LTS
- Versions
- 1:1.11.4-1ubuntu1
- 1:1.11.6-1ubuntu1
- 1:1.11.9-1ubuntu1
- 1:1.11.11-1ubuntu1
- 1:1.11.11-1ubuntu1.1
- 1:1.11.11-1ubuntu1.2
- 1:1.11.11-1ubuntu1.3
- Affected ranges
- ECOSYSTEM: < 1:1.11.11-1ubuntu1.4
Update to 1:1.11.11-1ubuntu1.4
Original sources
- 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