An issue was discovered in Django 1.11 before 1.11.22, 2.1 before 2.1.10, and 2.2 before…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 5 fixed, 6 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-319.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | Django (PyPI) | 2.1 to before 2.1.10 | 2.1.10 | Patch available | GHSA-6c7v-2f49-8h26 |
| — | Django (PyPI) | 2.2 to before 2.2.3 | 2.2.3 | Patch available | GHSA-6c7v-2f49-8h26 |
| — | Django (PyPI) | 1.11 to before 1.11.22 | 1.11.22 | Patch available | GHSA-6c7v-2f49-8h26 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- Django (PyPI) Vendor— Affected 2.1 to before 2.1.10 Fixed in 2.1.10 Patch available GHSA-6c7v-2f49-8h26
- Django (PyPI) Vendor— Affected 2.2 to before 2.2.3 Fixed in 2.2.3 Patch available GHSA-6c7v-2f49-8h26
- Django (PyPI) Vendor— Affected 1.11 to before 1.11.22 Fixed in 1.11.22 Patch available GHSA-6c7v-2f49-8h26
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 1.11 to before 1.11.22; 2.1 to before 2.1.10; 2.2 to before 2.2.3 | Vulnerable | djangoproject |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* | 18.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* | 19.04 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 1.11 to before 1.11.22; 2.1 to before 2.1.10; 2.2 to before 2.2.3 Vulnerable ·djangoproject
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* Versions 18.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* Versions 19.04 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
Remediation
- Fix · GHSA-6c7v-2f49-8h26 Django (PyPI) Fixed in 2.1.10 Advisory →
- Fix · GHSA-6c7v-2f49-8h26 Django (PyPI) Fixed in 2.2.3 Advisory →
- Fix · GHSA-6c7v-2f49-8h26 Django (PyPI) Fixed in 1.11.22 Advisory →
Red Hat 3 advisories
- RHSA-2020:4390 Released 2020-10-28 · Red Hat rating Moderatepython-django security update
- Red Hat OpenStack Platform 13.0 python-django-1.11.27-1.el7ost, python-django-bash-completion-1.11.27-1.el7ost, python2-django-1.11.27-1.el7ost
- Red Hat OpenStack Platform 13.0 for RHEL 7.6 EUS Server python-django-1.11.27-1.el7ost, python-django-bash-completion-1.11.27-1.el7ost, python2-django-1.11.27-1.el7ost
- RHSA-2020:4366 Released 2020-10-27 · Red Hat rating ImportantSatellite 6.8 release
- Red Hat Satellite 6.8 ansible-collection-redhat-satellite-1.3.0-1.el7sat, ansible-runner-1.4.6-1.el7ar, ansiblerole-foreman_scap_client-0.0.5-1.el7sat +47
- Red Hat Satellite Capsule 6.8 ansible-collection-redhat-satellite-1.3.0-1.el7sat, ansible-runner-1.4.6-1.el7ar, ansiblerole-foreman_scap_client-0.0.5-1.el7sat +47
- RHSA-2020:1324 Released 2020-04-06 · Red Hat rating Moderatepython-django security update
- Red Hat OpenStack Platform 15.0 python-django-2.1.11-1.el8ost, python-django-bash-completion-2.1.11-1.el8ost, python3-django-2.1.11-1.el8ost
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Certification for Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat OpenStack Platform 10 (Newton) | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 14 (Rocky) | Affected | No fix yet |
| Red Hat OpenStack Platform 9 (Mitaka) | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 9 (Mitaka) Operational Tools | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix yet |
| Red Hat OpenStack Platform 13.0 | Fixed | RHSA-2020:4390 |
| Red Hat OpenStack Platform 13.0 for RHEL 7.6 EUS Server | Fixed | RHSA-2020:4390 |
| Red Hat OpenStack Platform 15.0 | Fixed | RHSA-2020:1324 |
| Red Hat Satellite 6.8 | Fixed | RHSA-2020:4366 |
| Red Hat Satellite Capsule 6.8 | Fixed | RHSA-2020:4366 |
Not affected: 3 products
- Red Hat Ceph Storage 2
- Red Hat Ceph Storage 3
- Red Hat Update Infrastructure 3 for Cloud Providers
Timeline
- 2026-10-02 Threatist record created from CVE-2019-12781
- 2026-10-03 Alias added: GHSA-6c7v-2f49-8h26
References
Patch 3
Advisory 9
Other 9
- https://groups.google.com/forum/#%21topic/django-announce/Is4kLY9ZcZQ
- https://docs.djangoproject.com/en/dev/releases/security
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-10.yaml
- https://groups.google.com/forum/#!topic/django-announce/Is4kLY9ZcZQ
- https://lists.fedoraproject.org/archives/list/[email protected]/message/5VXXWIOQGXOB7JCGJ3CVUW673LDHKEYL
- https://security.netapp.com/advisory/ntap-20190705-0002
- https://usn.ubuntu.com/4043-1
- https://www.djangoproject.com/weblog/2019/jul/01/security-releases
Sources
- CVE-2019-12781 · CVE Program
- CVE-2019-12781 · NVD
- FIRST EPSS
- GHSA-6c7v-2f49-8h26 · GitHub Advisory Database · CC BY 4.0
- CVE-2019-12781 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences