CVE-2015-8213Published Dec 7, 2015 · Dec 7Updated Jun 17
Django settings leak in date template filter
Low2.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| django PyPI |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| django PyPI |
|
|
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.
From the CVE record · mitre
The get_format function in Django's utils/formats.py may expose sensitive application secrets when a settings key is supplied in place of a date/time format setting. A remote attacker might obtain a secret such as SECRET_KEY; the input does not specify whether authentication or user interaction is required.
Anyone running the PyPI django package in the affected 1.7, 1.8, or 1.9 prerelease ranges should check their version.