CVE-2015-8213
MEDIUM 5.0CVSS 2.0Django settings leak in date template filter
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.
- Published
- 7 Dec 2015
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-6wcr-wcqm-3mfhPYSEC-2015-11
- Sources
- NVDJSONOSV GHSA-6wcr-wcqm-3mfhJSONOSV PYSEC-2015-11JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | LOW 2.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
<= 1.7.10 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.8.0:*:*:*:*:*:*:* |
= 1.8.0 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.8.1:*:*:*:*:*:*:* |
= 1.8.1 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.8.2:*:*:*:*:*:*:* |
= 1.8.2 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.8.3:*:*:*:*:*:*:* |
= 1.8.3 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.8.4:*:*:*:*:*:*:* |
= 1.8.4 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.8.5:*:*:*:*:*:*:* |
= 1.8.5 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.8.6:*:*:*:*:*:*:* |
= 1.8.6 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.9.0:rc1:*:*:*:*:*:* |
= 1.9.0 | |
| OSV | PyPI | django | >= 1.7, < 1.7.11 | 1.7.11 |
| OSV | PyPI | django | >= 1.8a1, < 1.8.7 | 1.8.7 |
| OSV | PyPI | django | >= 1.9a1, < 1.9rc2 | 1.9rc2 |
| OSV | PyPI | django | < 1.7.11; >= 1.8, < 1.8.7; >= 1.9a0, < 1.9rc2 | 1.7.11, 1.8.7, 1.9rc2 |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173375.html · WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174770.html · WEB
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00014.html · WEB
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00017.html · WEB
- http://rhn.redhat.com/errata/RHSA-2016-0129.html · WEB, ADVISORY
- http://rhn.redhat.com/errata/RHSA-2016-0156.html · WEB, ADVISORY
- http://rhn.redhat.com/errata/RHSA-2016-0157.html · WEB, ADVISORY
- http://rhn.redhat.com/errata/RHSA-2016-0158.html · WEB, ADVISORY
- http://www.debian.org/security/2015/dsa-3404 · WEB, ADVISORY
- http://www.securityfocus.com/bid/77750 · WEB
- http://www.securitytracker.com/id/1034237 · WEB
- http://www.ubuntu.com/usn/USN-2816-1 · WEB, ADVISORY
- https://github.com/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4 · WEB, FIX
- https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued/ · Patch, Vendor Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2015-8213 · ADVISORY
- https://github.com/django/django/commit/3ebbda0aef9e7a90ac6208bb8f9bc21228e2c7da · WEB
- https://github.com/django/django/commit/8a01c6b53169ee079cb21ac5919fdafcc8c5e172 · WEB
- https://github.com/django/django/commit/9f83fc2f66f5a0bac7c291aec55df66050bb6991 · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-11.yaml · WEB
- https://github.com/advisories/GHSA-6wcr-wcqm-3mfh · ADVISORY
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 7 Dec 2015)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Dec 2015)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)