GitHub Advisoryadvisory · PyPI
GHSA-6wcr-wcqm-3mfh Django settings leak in date template filter
MEDIUM
Official page ↗
- Aliases
- CVE-2015-8213
- Ecosystem
- PyPI
- Packages
- Django
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-200
- Reviewed
- 2024-03-08
Affected packages
• PyPI Django: >= 1.7, < 1.7.11 → fixed in 1.7.11
• PyPI Django: >= 1.8a1, < 1.8.7 → fixed in 1.8.7
• PyPI Django: >= 1.9a1, < 1.9rc2 → fixed in 1.9rc2
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`.
Related
Alias · CVE (1)
- CVE-2015-8213 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… vulnerability
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-8213 advisory
- https://github.com/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4 web
- https://github.com/django/django/commit/3ebbda0aef9e7a90ac6208bb8f9bc21228e2c7da web
- https://github.com/django/django/commit/8a01c6b53169ee079cb21ac5919fdafcc8c5e172 web
- https://github.com/django/django/commit/9f83fc2f66f5a0bac7c291aec55df66050bb6991 web
- https://github.com/django/django package
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-11.yaml web
- https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued web
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173375.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174770.html web
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00014.html web
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00017.html web
- http://rhn.redhat.com/errata/RHSA-2016-0129.html web
- http://rhn.redhat.com/errata/RHSA-2016-0156.html web
- http://rhn.redhat.com/errata/RHSA-2016-0157.html web
- http://rhn.redhat.com/errata/RHSA-2016-0158.html web
- http://www.debian.org/security/2015/dsa-3404 web
- http://www.securityfocus.com/bid/77750 web
- http://www.securitytracker.com/id/1034237 web
- http://www.ubuntu.com/usn/USN-2816-1 web