Bug 2037025 (CVE-2021-45116) - CVE-2021-45116 django: Potential information disclosure in dictsort template filter
Summary: CVE-2021-45116 django: Potential information disclosure in dictsort template ...
Keywords:
Status: NEW
Alias: CVE-2021-45116
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2037170 2037171 2037172 2037174 2037753 2037754 2040372 2040373 2040374 2037173 2037175
Blocks: 2037030
TreeView+ depends on / blocked
 
Reported: 2022-01-04 16:48 UTC by Pedro Sampaio
Modified: 2022-01-19 14:44 UTC (History)
60 users (show)

Fixed In Version: Django 4.0.1, Django 3.2.11, Django 2.2.26
Doc Type: If docs needed, set a value
Doc Text:
An information-disclosure flaw was found in Django, where the dictsort filter in Django's Template Language did not correctly validate user input. A network attacker could exploit this flaw using a suitably crafted key to force information disclosure or unintended method calls.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Pedro Sampaio 2022-01-04 16:48:31 UTC
Due to leveraging the Django Template Language's variable resolution logic, the
:tfilter:`dictsort` template filter was potentially vulnerable to information
disclosure or unintended method calls, if passed a suitably crafted key.

References:

https://www.djangoproject.com/weblog/2022/jan/04/security-releases/

Comment 1 Summer Long 2022-01-05 06:57:04 UTC
Created django:1.6/python-django tracking bugs for this issue:

Affects: fedora-all [bug 2037170]


Created python-django tracking bugs for this issue:

Affects: epel-all [bug 2037171]
Affects: fedora-all [bug 2037174]
Affects: openstack-rdo [bug 2037172]


Note You need to log in before you can comment on or make changes to this bug.