Severity
- CVSS 3.x
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/django/django ↗ | |
| c669cf279ae7b3e02a61db4fb077030a4db80e4f to before 480380c9935a2e920a41828b3a07bee66a686a67 | 480380c9935a2e920a41828b3a07bee66a686a67 |
| df591468251ed489a3e147d7c359f387f4effe66 to before 90a1cfd60002c465d9c47ad9ebc0a79ad0bc6cf9 | 90a1cfd60002c465d9c47ad9ebc0a79ad0bc6cf9 |
| 2a62cdcfec85938f40abb2e9e6a9ff497e02afe8 to before 89e9a4aeb62ff63ae2d387b1142d6ddaa842d66d | 89e9a4aeb62ff63ae2d387b1142d6ddaa842d66d |
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.
References
- Weblists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html ↗
- Weblists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html ↗
- Webgroups.google.com/forum/#%21topic/django-announce/Is4kLY9ZcZQ ↗
- Weblists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL/ ↗
- Advisorywww.securityfocus.com/bid/109018 ↗
- Advisoryseclists.org/bugtraq/2019/Jul/10 ↗
- Advisorysecurity.netapp.com/advisory/ntap-20190705-0002/ ↗
- Advisoryusn.ubuntu.com/4043-1/ ↗
- Advisorywww.debian.org/security/2019/dsa-4476 ↗
- Fixwww.openwall.com/lists/oss-security/2019/07/01/3 ↗
- Fixdocs.djangoproject.com/en/dev/releases/security/ ↗
- Fixwww.djangoproject.com/weblog/2019/jul/01/security-releases/ ↗