PYSEC-2022-2
Dashboard / Vulnerabilities / PYSEC-2022-2
PYSEC-2022-2
Published: 5 Jan 2022Last Modified: 6 Dec 2023
Summary:
Details: An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. Due to leveraging the Django Template Language's variable resolution logic, the dictsort template filter was potentially vulnerable to information disclosure, or an unintended method call, if passed a suitably crafted key.
References: https://docs.djangoproject.com/en/4.0/releases/security/, https://groups.google.com/forum/#!forum/django-announce, https://www.djangoproject.com/weblog/2022/jan/04/security-releases/, https://github.com/advisories/GHSA-8c5j-9r9f-c6w8
Affected packages
Package
Name: django
Purl: pkg:pypi/django
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 2.2
Fixed -2.2.26
Affected versions
2.2
2.2.1
2.2.10
2.2.11
2.2.12
2.2.13
2.2.14
2.2.15
2.2.16
2.2.17
2.2.18
2.2.19
2.2.2
2.2.20
2.2.21
2.2.22
2.2.23
2.2.24
2.2.25
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
