Cleartext Transmission of Sensitive Information Affecting python-django package, versions <1:1.11.11-1ubuntu1.4


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.12% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-PYTHONDJANGO-451337
  • published1 Jul 2019
  • disclosed1 Jul 2019

Introduced: 1 Jul 2019

CVE-2019-12781  (opens in a new tab)
CWE-319  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 python-django to version 1:1.11.11-1ubuntu1.4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-django package and not the python-django package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

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.