cve.bz

CVE-2019-12781

5.3 mediumEPSS 1.7%Fix available

Medium (5.3). EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in django 1.11.22, 2.1.10, 2.2.3.

On this page
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

CVSS 3.0

5.3 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-319 Cleartext Transmission of Sensitive Information
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-12781 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-12781?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-12781?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-12781 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
djangoproject:djangofrom 1.11 before 1.11.22
djangoproject:djangofrom 2.1 before 2.1.10
djangoproject:djangofrom 2.2 before 2.2.3
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
canonical:ubuntu_linux19.04
debian:debian_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6c7v-2f49-8h26PyPIdjango>=2.1 <2.1.102.1.10
GHSA-6c7v-2f49-8h26PyPIdjango>=2.2 <2.2.32.2.3
GHSA-6c7v-2f49-8h26PyPIdjango>=1.11 <1.11.221.11.22
PYSEC-2019-10PyPIdjango>=2.1 <2.1.10
>=2.2 <2.2.3
>=1.11 <1.11.22
2.1.10, 2.2.3, 1.11.22

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8python-django1.7.11-1+deb8u6DLA-1842-1
Debian9python-django1:1.10.7-2+deb9u5DSA-4476-1
Debian12, 13, 14python-django1:1.11.22-1DEBIAN-CVE-2019-12781
Ubuntu16.04:LTSpython-django1.8.7-1ubuntu5.9UBUNTU-CVE-2019-12781 USN-4043-1
Ubuntu18.04:LTSpython-django1:1.11.11-1ubuntu1.4UBUNTU-CVE-2019-12781 USN-4043-1
UbuntuPro:14.04:LTSpython-djangono fix listedUBUNTU-CVE-2019-12781
Red Hatopenstack:13::el7python-django, python2-django, python-django-bash-completion0:1.11.27-1.el7ostRHSA-2020:4390
Red Hatopenstack:15::el8python-django, python3-django, python-django-bash-completion0:2.1.11-1.el8ostRHSA-2020:1324
Red Hatsatellite:6.8::el7createrepo_c, createrepo_c-libs, createrepo_c-debuginfo and 1 more0:0.7.4-1.el7satRHSA-2020:4366
Red Hatsatellite:6.8::el7keycloak-httpd-client-install, python2-keycloak-httpd-client-install0:1.2.2-1.el7satRHSA-2020:4366
Red Hatsatellite:6.8::el7pcp-mmvstatsd0:0.4-2.el7satRHSA-2020:4366
Red Hatsatellite:6.8::el7python-idna-ssl, python3-idna-ssl0:1.1.0-2.el7arRHSA-2020:4366
Red Hatsatellite:6.8::el7python-prometheus-client, python3-prometheus-client0:0.7.1-2.el7arRHSA-2020:4366
Red Hatsatellite:6.8::el7python-receptor-satellite, python3-receptor-satellite0:1.2.0-1.el7satRHSA-2020:4366
Red Hatsatellite:6.8::el7python-six, python3-six0:1.11.0-8.el7arRHSA-2020:4366
Red Hatsatellite:6.8::el7python-yarl, python3-yarl, python-yarl-debuginfo0:1.4.2-2.el7arRHSA-2020:4366
Red Hatsatellite:6.8::el7qpid-cpp, qpid-qmf, qpid-tools and 6 more0:1.36.0-28.el7amqRHSA-2020:4366
Red Hatsatellite:6.8::el7receptor0:0.6.3-1.el7arRHSA-2020:4366
190 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5python-Django1.6.11-6.10.1SUSE-SU-2019:3127-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8python-Django1.11.23-3.12.1SUSE-SU-2019:2257-1
SUSEOpenStack Cloud 7python-Django1.8.19-3.18.1SUSE-SU-2019:2379-1
SUSEOpenStack Cloud 9, OpenStack Cloud Crowbar 9python-Django11.11.23-3.9.1SUSE-SU-2019:2335-1
SUSEPackage Hub 15 SP1python-Django2.2.4-bp151.3.3.1openSUSE-SU-2019:1872-1
openSUSELeap 15.1python-Django2.2.4-lp151.2.3.1openSUSE-SU-2019:1839-1
openSUSETumbleweedpython-Django3.2.7-2.3openSUSE-SU-2024:11205-1
openSUSETumbleweedpython-Django4.2.11-2.1openSUSE-SU-2024:13887-1
openSUSETumbleweedpython-Django5.2.16-1.1openSUSE-SU-2026:11248-1
openSUSETumbleweedpython-Django44.2.14-1.1openSUSE-SU-2024:14208-1
openSUSETumbleweedpython-Django44.2.30-4.1openSUSE-SU-2026:11235-1
openSUSETumbleweedpython-Django55.2.16-1.1openSUSE-SU-2026:11270-1
openSUSETumbleweedpython-Django66.0-1.1openSUSE-SU-2026:10005-1
Alpinev3.7, v3.8, v3.9 and 1 morepy-django1.11.22-r0ALPINE-CVE-2019-12781
Alpinev3.11, v3.12, v3.13 and 11 morepy3-django1.11.22-r0ALPINE-CVE-2019-12781

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue does not affect any versions of python-django as shipped with Red Hat Update Infrastructure for Cloud Providers as the load balancer should not be configured to forward HTTP requests.

ProductPackageStateAdvisory
Red Hat OpenStack Platform 13.0 (Queens)python-django-0:1.11.27-1.el7ostFixed 2020-10-28RHSA-2020:4390
Red Hat OpenStack Platform 13.0 (Queens) for RHEL 7.6 EUSpython-django-0:1.11.27-1.el7ostFixed 2020-10-28RHSA-2020:4390
Red Hat OpenStack Platform 15.0 (Stein)python-django-0:2.1.11-1.el8ostFixed 2020-04-06RHSA-2020:1324
Red Hat Satellite 6.8 for RHEL 7ansible-collection-redhat-satellite-0:1.3.0-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7ansiblerole-foreman_scap_client-0:0.0.5-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7ansiblerole-insights-client-0:1.7.1-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7ansiblerole-satellite-receptor-installer-0:0.6.13-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7ansible-runner-0:1.4.6-1.el7arFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7candlepin-0:3.1.21-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7createrepo_c-0:0.7.4-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7foreman-0:2.1.2.19-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Ceph Storage 2python-djangoNot affected
Red Hat Ceph Storage 3python-djangoNot affected
Red Hat Certification for Red Hat Enterprise Linux 7python-djangoAffected
Red Hat OpenStack Platform 10 (Newton)python-djangoWill not fix
Red Hat OpenStack Platform 14 (Rocky)python-djangoAffected
Red Hat OpenStack Platform 9 (Mitaka)python-djangoWill not fix
Red Hat OpenStack Platform 9 (Mitaka) Operational Toolspython-djangoWill not fix
Red Hat Storage 3python-djangoAffected
Red Hat Update Infrastructure 3 for Cloud Providerspython-djangoNot affected
371 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-12781.

Attack patterns (CAPEC)

  • CAPEC-65 Sniff Application Code Likelihood: Low · Severity: High
  • CAPEC-102 Session Sidejacking Likelihood: High · Severity: High
  • CAPEC-117 Interception Likelihood: Low · Severity: Medium
  • CAPEC-383 Harvesting Information via API Event Monitoring Severity: Low
  • CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON