Severity
5.3MEDIUMNVD
EPSS
3.9%
top 11.70%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJul 1
Latest updateJul 8

Description

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploitability: 3.9 | Impact: 1.4

Affected Packages2 packages

NVDdjangoproject/django1.111.11.22+2
PyPIdjangoproject/django2.12.1.10+2

Also affects: Debian Linux 9.0, Ubuntu Linux 16.04, 18.04, 18.10, 19.04

Patches

🔴Vulnerability Details

5
OSV
Django Incorrect HTTP detection with reverse-proxy connecting via HTTPS2019-07-03
GHSA
Django Incorrect HTTP detection with reverse-proxy connecting via HTTPS2019-07-03
OSV
CVE-2019-12781: An issue was discovered in Django 12019-07-01
CVEList
CVE-2019-12781: An issue was discovered in Django 12019-07-01
OSV
python-django vulnerabilities2019-07-01

📋Vendor Advisories

3
Red Hat
Django: Incorrect HTTP detection with reverse-proxy connecting via HTTPS2019-07-01
Ubuntu
Django vulnerabilities2019-07-01
Debian
CVE-2019-12781: python-django - An issue was discovered in Django 1.11 before 1.11.22, 2.1 before 2.1.10, and 2....2019

💬Community

4
Bugzilla
CVE-2019-12781 python-django: Django: Incorrect HTTP detection with reverse-proxy connecting via HTTPS [openstack-rdo]2019-07-08
Bugzilla
CVE-2019-12781 python-django: Django: Incorrect HTTP detection with reverse-proxy connecting via HTTPS [fedora-30]2019-07-02
Bugzilla
CVE-2019-12781 python-django: Django: Incorrect HTTP detection with reverse-proxy connecting via HTTPS [epel-7]2019-07-02
Bugzilla
CVE-2019-12781 Django: Incorrect HTTP detection with reverse-proxy connecting via HTTPS2019-06-27
CVE-2019-12781 — Djangoproject Django vulnerability | cvebase