Information disclosure in Django - CVE-2015-8213
Published: December 7, 2015 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.
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.
Affected software
Debian Linux
Fedora
Ubuntu
py-django (Alpine package)
py-django1.5 (Alpine package)
python-django (Debian package)
python-django (Ubuntu package)
python3-django (Ubuntu package)
python-django
How to mitigate CVE-2015-8213
py-django (Alpine package) - update to 1.5.10-r1
py-django1.5 (Alpine package) - addressed in versions 1.5.10-r1, 1.5.12-r1
python-django (Debian package) - addressed in versions 1.2.3-3+squeeze15, 1.4.5-1+deb7u14, 1.7.7-1+deb8u3
python-django (Ubuntu package) - addressed in versions 1.3.1-4ubuntu1.19, 1.6.1-2ubuntu0.11, 1.7.6-1ubuntu2.3, 1.7.9-1ubuntu5.1
python3-django (Ubuntu package) - addressed in versions 1.7.6-1ubuntu2.3, 1.7.9-1ubuntu5.1
python-django - addressed in versions 1.6.11-4.el7, 1.8.7-1.fc23
External References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173375.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174770.html
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00014.html
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00017.html
- http://rhn.redhat.com/errata/RHSA-2016-0129.html
- http://rhn.redhat.com/errata/RHSA-2016-0156.html
- http://rhn.redhat.com/errata/RHSA-2016-0157.html
- http://rhn.redhat.com/errata/RHSA-2016-0158.html
- http://www.debian.org/security/2015/dsa-3404
- http://www.securityfocus.com/bid/77750
- http://www.securitytracker.com/id/1034237
- http://www.ubuntu.com/usn/USN-2816-1
- https://github.com/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4
- https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued/
Related Security Bulletins
- Information disclosure in Django
- Information disclosure in py-django (Alpine package)
- Information disclosure in py-django1.5 (Alpine package)
- Fedora 23 update for python-django
- Fedora EPEL 7 update for python-django
- Ubuntu update for python-django
- DSA-3404-1: python-django - security update
- Debian update for python-django