GHSA-6wcr-wcqm-3mfhMediumCVSS 2.8

Django settings leak in date template filter

Published
May 17, 2022
Last Modified
September 18, 2024

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products3

  • pip/django:>= 1.7, < 1.7.11
  • pip/django:>= 1.9a1, < 1.9rc2
  • pip/Django:>= 1.8a1, < 1.8.7

🔗 References (20)