What’s Vulnerable › Vulnerabilities

CVE-2021-45116: Information disclosure in Django

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Django 2.2.26, 3.2.11, 4.0.1; Pypi Django 2.2.26, 3.2.11, 4.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-45116 or the next vulnerability affects your stack