Vulnerabilities · 2021 · Djangoproject
CVE-2021-45116
Djangoproject Django vulnerability
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
Django, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Djangoproject Django runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- docs.djangoproject.com/en/4.0/releases/security/ · Patch
- www.djangoproject.com/weblog/2022/jan/04/security-releases/ · Patch
- security.netapp.com/advisory/ntap-20220121-0005/ · Third Party Advisory
- groups.google.com/forum/#%21forum/django-announce
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B
- nvd.nist.gov/vuln/detail/CVE-2021-45116
- groups.google.com/forum/#!forum/django-announce
- github.com/django/django/commit/2a8ec7f546d6d5806e221ec948c5146b55bd7489
- nvd.nist.gov/vuln/detail/CVE-2021-45116
- cve.org/CVERecord?id=CVE-2021-45116
More vulnerabilities in Djangoproject products
CVE-2026-1312CVE-2026-1287CVE-2026-1285CVE-2026-1207CVE-2025-64460CVE-2025-64459CVE-2025-64458CVE-2025-59682All 137
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.