CVE-2015-8213 json
Django settings leak in date template filter
published 2015-12-07 10 y ago modified 2026-06-17 4 mo ago also GHSA-6wcr-wcqm-3mfh , PYSEC-2015-11 , EUVD-2015-0006
- cvss
- 2.8
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.3%
- EPSS 4.3% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi django 1.7.11, 1.8.7, 1.9rc2
- python-django Debian 14, Debian 13, Debian 12 1.8.7-1
debian advisories DEBIAN-CVE-2015-8213
- python-django Ubuntu 14.04 LTS 1.6.1-2ubuntu0.11
ubuntu advisories UBUNTU-CVE-2015-8213
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-django openstack 7 1.8.7-1.el7
- python-django-bash-completion openstack 7 1.8.7-1.el7
- python-django openstack 5 1.6.11-4.el6ost
- python-django-bash-completion openstack 5 1.6.11-4.el6ost
- python-django openstack-optools 7, openstack 6, openstack 5 1.6.11-4.el7ost
- python-django-bash-completion openstack-optools 7, openstack 6, openstack 5 1.6.11-4.el7ost
red hat advisories RHSA-2016:0156RHSA-2016:0158RHSA-2016:0129RHSA-2016:0157RHSA-2016:0360
- python-Django Enterprise Storage 2 1.6.11-3.1
- python-Django OpenStack Cloud 5 1.6.11-13.1
- python-Django Enterprise Storage 1.0 1.6.11-11.1
suse advisories SUSE-SU-2016:0044-1SUSE-SU-2016:0040-1SUSE-SU-2015:2327-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-8213 updated cvss 4.3
python-django: Information leak through date template filter
-
Red Hat Ceph Storage 1.2 Django Red Hat Ceph Storage 1.3 Django Red Hat Subscription Asset Manager Djangoaffected: no fix planned “Will not fix”
-
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.el6ostfixed: vendor fix RHSA-2016:0158
-
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.el7ostfixed: vendor fix RHSA-2016:0157
-
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.el7ostfixed: vendor fix RHSA-2016:0129
-
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.el7fixed: vendor fix RHSA-2016:0156
-
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.el7ostfixed: vendor fix RHSA-2016:0360
-
Red Hat OpenStack Platform 8 (Liberty) python-django, python-django-bash-completion Red Hat OpenStack Platform 8 (Liberty) Operational Tools python-django, python-django-bash-completionnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.28% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 2.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=1.7, <1.7.11 >=1.8a1, <1.8.7 >=1.9a1, <1.9rc2 <1.7.11 >=1.8, <1.8.7 >=1.9a0, <1.9rc2 |
1.7.11 1.8.7 1.9rc2 |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- Technology feeds
References
-
github.com
/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4
web, patch
-
djangoproject.com
/weblog/2015/nov/24/security-releases-issued/
patch, vendor-advisory, article
-
github.com
/django/django/commit/3ebbda0aef9e7a90ac6208bb8f9bc21228e2c7da
web
-
github.com
/django/django/commit/8a01c6b53169ee079cb21ac5919fdafcc8c5e172
web
-
github.com
/django/django/commit/9f83fc2f66f5a0bac7c291aec55df66050bb6991
web
-
lists.opensuse.org
/opensuse-updates/2015-12/msg00014.html
vendor-advisory, web
-
ubuntu.com
/usn/USN-2816-1
vendor-advisory, web, advisory
-
rhn.redhat.com
/errata/RHSA-2016-0129.html
vendor-advisory, web, advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-December/174770.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2016-0158.html
vendor-advisory, web, advisory
-
rhn.redhat.com
/errata/RHSA-2016-0157.html
vendor-advisory, web, advisory
-
debian.org
/security/2015/dsa-3404
vendor-advisory, web, advisory
-
rhn.redhat.com
/errata/RHSA-2016-0156.html
vendor-advisory, web, advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-December/173375.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-updates/2015-12/msg00017.html
vendor-advisory, web
-
securitytracker.com
/id/1034237
vdb-entry, web
-
securityfocus.com
/bid/77750
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2015-8213
advisory
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-11.yaml
web
-
djangoproject.com
/weblog/2015/nov/24/security-releases-issued
web
-
github.com
/advisories/GHSA-6wcr-wcqm-3mfh
advisory
Sources
- CVE List CVE-2015-8213
- GitHub Advisory GHSA-6wcr-wcqm-3mfh
- NVD CVE-2015-8213
- OSV PYSEC-2015-11
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.