CVE-2019-12781: Canonical Ubuntu Linux

Medium severity, CVSS 5.3. EPSS: 1.7% chance of exploitation in the next 30 days.

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 products

  • Canonical Ubuntu Linux: version 16.04 only; version 18.04 only; version 18.10 only; version 19.04 only
  • Debian Debian Linux: version 9.0 only
  • Djangoproject Django: from 1.11, before 1.11.22 (fixed in 1.11.22); from 2.1, before 2.1.10 (fixed in 2.1.10); from 2.2, before 2.2.3 (fixed in 2.2.3)

Published 2019-07-01. Last modified 2026-06-17.