Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2015-8213

CVE-2015-8213: Django settings leak in date template filter

May 17, 2022 (updated September 18, 2024)

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.

References

  • github.com/advisories/GHSA-6wcr-wcqm-3mfh
  • github.com/django/django
  • github.com/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4
  • github.com/django/django/commit/3ebbda0aef9e7a90ac6208bb8f9bc21228e2c7da
  • github.com/django/django/commit/8a01c6b53169ee079cb21ac5919fdafcc8c5e172
  • github.com/django/django/commit/9f83fc2f66f5a0bac7c291aec55df66050bb6991
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-11.yaml
  • nvd.nist.gov/vuln/detail/CVE-2015-8213
  • www.djangoproject.com/weblog/2015/nov/24/security-releases-issued

Code Behaviors & Features

Detect and mitigate CVE-2015-8213 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.8a1 before 1.8.7, all versions starting from 1.9a1 before 1.9rc2, all versions starting from 1.7 before 1.7.11

Fixed versions

  • 1.7.11
  • 1.8.7
  • 1.9rc2

Solution

Upgrade to versions 1.7.11, 1.8.7, 1.9rc2 or above.

Impact 2.8 LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

pypi/Django/CVE-2015-8213.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:56 +0000.