Skip to content
OpenAdvisories
Low · 2.8 CVE-2015-8213 EUVD-2015-0006GHSA-6wcr-wcqm-3mfhPYSEC-2015-11

Django settings leak in date template filter

Published Dec 7, 2015 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 1.8.7-1 —
Debian 13 python-django 1.8.7-1 —
Debian 12 python-django 1.8.7-1 —
Debian 8 python-django 1.7.7-1+deb8u3 DSA-3404-1
Debian 7 python-django 1.4.5-1+deb7u14 DSA-3404-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 6.0 python-django 1.2.3-3+squeeze15 DLA-349-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS python-django 1.6.1-2ubuntu0.11 USN-2816-1
ReleasePackageFixed inAdvisory
Red Hat Openstack-optools 7 python-django +1 1.6.11-4.el7ost RHSA-2016:0360
Red Hat OpenStack 7 python-django +2 1.8.7-1.el7 RHSA-2016:0156
Red Hat OpenStack 6 python-django +2 1.6.11-4.el7ost RHSA-2016:0129
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat OpenStack 5 python-django +2 1.6.11-4.el6ost RHSA-2016:0158, RHSA-2016:0157
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud 5 python-Django 1.6.11-13.1 SUSE-SU-2016:0040-1
SUSE Enterprise Storage 2 python-Django 1.6.11-3.1 SUSE-SU-2016:0044-1
SUSE Enterprise Storage 1.0 python-Django 1.6.11-11.1 SUSE-SU-2015:2327-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 1.7, < 1.7.11 1.7.11 GHSA-6wcr-wcqm-3mfh
PyPI django >= 1.8a1, < 1.8.7 1.8.7 GHSA-6wcr-wcqm-3mfh
PyPI django >= 1.9a1, < 1.9rc2 1.9rc2 GHSA-6wcr-wcqm-3mfh
PyPI django < 1.7.11 · >= 1.8, < 1.8.7 · >= 1.9a0, < 1.9rc2 1.7.11, 1.8.7, 1.9rc2 PYSEC-2015-11

Advisories 11

References