GHSA-6wcr-wcqm-3mfh

Suggest an improvement
Source
https://github.com/advisories/GHSA-6wcr-wcqm-3mfh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6wcr-wcqm-3mfh/GHSA-6wcr-wcqm-3mfh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6wcr-wcqm-3mfh
Aliases
Published
2022-05-17T03:25:24Z
Modified
2024-09-18T15:23:45.106423Z
Severity
  • 2.8 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
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.

References

Affected packages

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.7
Fixed
1.7.11

Affected versions

1.*

1.7
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
1.7.6
1.7.7
1.7.8
1.7.9
1.7.10

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.8a1
Fixed
1.8.7

Affected versions

1.*

1.8a1
1.8b1
1.8b2
1.8c1
1.8
1.8.1
1.8.2
1.8.3
1.8.4
1.8.5
1.8.6

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.9a1
Fixed
1.9rc2

Affected versions

1.*

1.9a1
1.9b1
1.9rc1