CVE-2015-8213Djangoproject Django
Medium 5.0 No auth needed
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- 4.3% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Dec 7, 2015
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
What happens
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
- Apply the vendor's security update for Django.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django |
≥ 1.7 < 1.7.11 |
1.7.11 |
pip install "django>=1.7.11" |
| PyPI | django |
≥ 1.8a1 < 1.8.7 |
1.8.7 |
pip install "django>=1.8.7" |
| PyPI | django |
≥ 1.9a1 < 1.9rc2 |
1.9rc2 |
pip install "django>=1.9rc2" |
| PyPI | django |
< 1.7.11 |
1.7.11 |
pip install "django>=1.7.11" |
| PyPI | django |
≥ 1.8 < 1.8.7 |
1.8.7 |
pip install "django>=1.8.7" |
| PyPI | django |
≥ 1.9a0 < 1.9rc2 |
1.9rc2 |
pip install "django>=1.9rc2" |
Per OSV / GitHub Advisories (GHSA-6wcr-wcqm-3mfh, PYSEC-2015-11). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | django | ≤ 1.7.10 |
| djangoproject | django | 1.8.0 |
| djangoproject | django | 1.8.1 |
| djangoproject | django | 1.8.2 |
| djangoproject | django | 1.8.3 |
| djangoproject | django | 1.8.4 |
| djangoproject | django | 1.8.5 |
| djangoproject | django | 1.8.6 |
| djangoproject | django | 1.9.0 |
Official sources
References
Links published by the sources. Open them with care.