Advisory

GHSA-6wcr-wcqm-3mfh

Also known as: CVE-2015-8213, PYSEC-2015-11

Summary

Django settings leak in date template filter

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 03:25 UTC
Modified
2024-09-18 14:57 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.7, fixed 1.7.11 (ecosystem)

Fixed versions

1.7.11

Fix

  • Fixed version 1.7.11
    pip install --upgrade django==1.7.11

django

PyPI · All systems

Affected

  • introduced 1.8a1, fixed 1.8.7 (ecosystem)

Fixed versions

1.8.7

Fix

  • Fixed version 1.8.7
    pip install --upgrade django==1.8.7

django

PyPI · All systems

Affected

  • introduced 1.9a1, fixed 1.9rc2 (ecosystem)

Fixed versions

1.9rc2

Fix

  • Fixed version 1.9rc2
    pip install --upgrade django==1.9rc2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences