---
title: "CVE-2015-8213\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2015-8213?format=md
keywords: index, follow
---

# CVE-2015-8213

Publication date 24 November 2015

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| python-django | 15.10 wily | Fixed 1.7.9-1ubuntu5.1 |
| 15.04 vivid | Fixed 1.7.6-1ubuntu2.3 |
| 14.04 LTS trusty | Fixed 1.6.1-2ubuntu0.11 |
| 12.04 LTS precise | Fixed 1.3.1-4ubuntu1.19 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8213)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2015-8213)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2015-8213)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2015-8213)

### Related Ubuntu Security Notices (USN)

+ [USN-2816-1](https://usn.ubuntu.com/USN-2816-1)
+ Django vulnerability
+ 24 November 2015

### Other references

* <https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued/>
* <https://www.cve.org/CVERecord?id=CVE-2015-8213>
