Ubuntu CVE Tracker
UBUNTU-CVE-2019-12781
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python-django | All versions, no fix listed |
| Ubuntu:16.04:LTS | python-django | All versions before 1.8.7-1ubuntu5.9 (fixed in 1.8.7-1ubuntu5.9) |
| Ubuntu:18.04:LTS | python-django | All versions before 1:1.11.11-1ubuntu1.4 (fixed in 1:1.11.11-1ubuntu1.4) |