VDB
Sign up
—

PYSEC-2022-2

Quick fix

PYSEC-2022-2 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=2.2.26'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 2.2Fixed in: 2.2.26
Fixpip install --upgrade 'django>=2.2.26'

References