The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x…
Priority LOW 30CWE-200Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Partial · None · None
- Fix status
- Partial Red Hat: 5 fixed, 3 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.
Summary
The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY.
Why it matters now
EPSS 0.04284 91st percentileScored 2026-11-07
Fix Partial Django (PyPI): 1.7.11, 1.8.7, 1.9rc2Red Hat: 5 advisoriesRed Hat: 5 fixed, 3 without a fix
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) | 1.7 to before 1.7.11 | 1.7.11 | Patch available | GHSA-6wcr-wcqm-3mfh |
| — | Django (PyPI) | 1.8a1 to before 1.8.7 | 1.8.7 | Patch available | GHSA-6wcr-wcqm-3mfh |
| — | Django (PyPI) | 1.9a1 to before 1.9rc2 | 1.9rc2 | Patch available | GHSA-6wcr-wcqm-3mfh |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- Django (PyPI) Vendor— Affected 1.7 to before 1.7.11 Fixed in 1.7.11 Patch available GHSA-6wcr-wcqm-3mfh
- Django (PyPI) Vendor— Affected 1.8a1 to before 1.8.7 Fixed in 1.8.7 Patch available GHSA-6wcr-wcqm-3mfh
- Django (PyPI) Vendor— Affected 1.9a1 to before 1.9rc2 Fixed in 1.9rc2 Patch available GHSA-6wcr-wcqm-3mfh
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | up to 1.7.10 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.8.0:*:*:*:*:*:*:* | 1.8.0 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.8.1:*:*:*:*:*:*:* | 1.8.1 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.8.2:*:*:*:*:*:*:* | 1.8.2 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.8.3:*:*:*:*:*:*:* | 1.8.3 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.8.4:*:*:*:*:*:*:* | 1.8.4 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.8.5:*:*:*:*:*:*:* | 1.8.5 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.8.6:*:*:*:*:*:*:* | 1.8.6 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.9.0:rc1:*:*:*:*:*:* | 1.9.0 rc1 | Vulnerable | djangoproject |
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions up to 1.7.10 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.8.0:*:*:*:*:*:*:* Versions 1.8.0 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.8.1:*:*:*:*:*:*:* Versions 1.8.1 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.8.2:*:*:*:*:*:*:* Versions 1.8.2 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.8.3:*:*:*:*:*:*:* Versions 1.8.3 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.8.4:*:*:*:*:*:*:* Versions 1.8.4 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.8.5:*:*:*:*:*:*:* Versions 1.8.5 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.8.6:*:*:*:*:*:*:* Versions 1.8.6 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.9.0:rc1:*:*:*:*:*:* Versions 1.9.0 rc1 Vulnerable ·djangoproject
Remediation
- Fix · GHSA-6wcr-wcqm-3mfh Django (PyPI) Fixed in 1.7.11 Advisory →
- Fix · GHSA-6wcr-wcqm-3mfh Django (PyPI) Fixed in 1.8.7 Advisory →
- Fix · GHSA-6wcr-wcqm-3mfh Django (PyPI) Fixed in 1.9rc2 Advisory →
Red Hat 5 advisories
- RHSA-2016:0360 Released 2016-03-08 · Red Hat rating Moderatepython-django security update
- Red Hat Enterprise Linux OpenStack Platform 7.0 Operational Tools for RHEL 7 python-django-1.6.11-4.el7ost, python-django-bash-completion-1.6.11-4.el7ost
- RHSA-2016:0156 Released 2016-02-10 · Red Hat rating Moderatepython-django security update
- Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7 python-django-1.8.7-1.el7, python-django-bash-completion-1.8.7-1.el7, python-django-doc-1.8.7-1.el7
- RHSA-2016:0157 Released 2016-02-10 · Red Hat rating Moderatepython-django security update
- Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7 python-django-1.6.11-4.el7ost, python-django-bash-completion-1.6.11-4.el7ost, python-django-doc-1.6.11-4.el7ost
Show 2 more Red Hat advisories
- RHSA-2016:0158 Released 2016-02-10 · Red Hat rating Moderatepython-django security update
- Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 6 python-django-1.6.11-4.el6ost, python-django-bash-completion-1.6.11-4.el6ost, python-django-doc-1.6.11-4.el6ost
- RHSA-2016:0129 Released 2016-02-08 · Red Hat rating Moderatepython-django security update
- Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7 python-django-1.6.11-4.el7ost, python-django-bash-completion-1.6.11-4.el7ost, python-django-doc-1.6.11-4.el7ost
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 1.2 | Affected | No fix planned: Will not fix |
| Red Hat Ceph Storage 1.3 | Affected | No fix planned: Will not fix |
| Red Hat Subscription Asset Manager | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 6 | Fixed | RHSA-2016:0158 |
| Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7 | Fixed | RHSA-2016:0157 |
| Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7 | Fixed | RHSA-2016:0129 |
| Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7 | Fixed | RHSA-2016:0156 |
| Red Hat Enterprise Linux OpenStack Platform 7.0 Operational Tools for RHEL 7 | Fixed | RHSA-2016:0360 |
Not affected: 2 products
- Red Hat OpenStack Platform 8 (Liberty)
- Red Hat OpenStack Platform 8 (Liberty) Operational Tools
Timeline
- 2026-10-02 Threatist record created from CVE-2015-8213
- 2026-10-03 Alias added: GHSA-6wcr-wcqm-3mfh
References
Advisory 11
Other 7
- https://github.com/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4
- https://github.com/django/django/commit/3ebbda0aef9e7a90ac6208bb8f9bc21228e2c7da
- https://github.com/django/django/commit/8a01c6b53169ee079cb21ac5919fdafcc8c5e172
- https://github.com/django/django/commit/9f83fc2f66f5a0bac7c291aec55df66050bb6991
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-11.yaml
- https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued
More djangoproject Django vulnerabilities
- TI-2022-15177 An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. CVSS 3.1CRITICAL 9.8
- TI-2020-05994 Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection… CVSS 3.1CRITICAL 9.8
- TI-2023-10198 An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0… CVSS 3.1HIGH 7.5
- TI-2019-14306 Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. CVSS 3.1CRITICAL 9.8
- TI-2019-10595 An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x… CVSS 3.0CRITICAL 9.8
- TI-2021-14006 Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2015-8213 · CVE Program
- CVE-2015-8213 · NVD
- FIRST EPSS
- GHSA-6wcr-wcqm-3mfh · GitHub Advisory Database · CC BY 4.0
- CVE-2015-8213 · 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