PT-2022-1408

CVE-2021-45116

·

Published

2022-01-04

·

Updated

2026-10-31

Description by

CVSS 4.0
8.7
High
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Django versions 2.2 before 2.2.26 Django versions 3.2 before 3.2.11 Django versions 4.0 before 4.0.1
Description The issue is related to the dictsort template filter in Django, which could potentially lead to information disclosure or an unintended method call if passed a suitably crafted key. This is due to the leveraging of the Django Template Language's variable resolution logic. The vulnerability may allow a remote attacker to obtain confidential system information.
Recommendations For Django versions 2.2 before 2.2.26, update to version 2.2.26 or later. For Django versions 3.2 before 3.2.11, update to version 3.2.11 or later. For Django versions 4.0 before 4.0.1, update to version 4.0.1 or later. As a temporary workaround, consider restricting the use of the dictsort template filter until a patch is available.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-8C5J-9R9F-C6W8
ALT-PU-2022-1075
ALT-PU-2022-1124
BIT-DJANGO-2021-45116
CLEANSTART-2024-RC27097
DLA-3177-1
MGASA-2022-0011
OESA-2022-1530
OESA-2022-2055
OPENSUSE-SU-2023:0005-1
PYSEC-2022-2
RHSA-2022:5498
RLSA-2022:5498
SUSE-SU-2022:0102-1
SUSE-SU-2022:0103-1
USN-5204-1
Found an issue in the description? Have something to add? Feel free to write us 👾