Related Vulnerabilities: CVE-2019-12781  

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

Severity High

Remote Yes

Type Insufficient validation

Description

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

AVG-1001 python2-django 1.11.21-1 1.11.22-1 High Fixed

AVG-1000 python-django 2.2.2-1 2.2.3-1 High Fixed

https://docs.djangoproject.com/en/2.2/releases/2.2.3/
https://www.openwall.com/lists/oss-security/2019/07/01/3