Shellfeed logo Shellfeed

CVE-2019-12781 · MEDIUM (CVSS 5.3)

Summary: 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.

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.

Severity

MEDIUM (CVSS 5.3) — vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected packages

  • PyPI django [2.1 – 2.1.10]
  • PyPI django [2.2 – 2.2.3]
  • PyPI django [1.11 – 1.11.22]
  • GIT github.com/django/django [c669cf279ae7b3e02a61db4fb077030a4db80e4f – 480380c9935a2e920a41828b3a07bee66a686a67] [e7ad40fcf4b103bb5134f6a94eb86a4e10e53cb3 – 90a1cfd60002c465d9c47ad9ebc0a79ad0bc6cf9] [635d53a86a36cde7866b9caefeb64d809e6bfcd9 – 89e9a4aeb62ff63ae2d387b1142d6ddaa842d66d]

References