Skip to main content
← All vulnerabilities
CVE-2019-12781GHSA-6C7V-2F49-8H26PYSEC-2019-10

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.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.10, 2.2.3, 1.11.22
None on Exploit-DB, Metasploit or GitHub

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • djangoPyPI

    From 2.1 · fixed in 2.1.10

  • djangoPyPI

    From 2.2 · fixed in 2.2.3

  • djangoPyPI

    From 1.11 · fixed in 1.11.22

  • djangoPyPI

    From 2.1 · fixed in 2.1.10; From 2.2 · fixed in 2.2.3; From 1.11 · fixed in 1.11.22

References 12

docs.djangoproject.com

groups.google.com

djangoproject.com

openwall.com

usn.ubuntu.com

securityfocus.com

security.netapp.com

debian.org

seclists.org

lists.fedoraproject.org

lists.opensuse.org