{"id":"CVE-2021-45116","aliases":["BIT-django-2021-45116","GHSA-8c5j-9r9f-c6w8","PYSEC-2022-2"],"url":"https://o3.security/vulnerability/CVE-2021-45116","summary":"Information disclosure in Django","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.","published":"2022-01-05T00:15:07.953Z","modified":"2026-07-08T06:00:47.108489908Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":{"score":0.01855,"percentile":0.7723,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"2.2.26"},{"ecosystem":"PyPI","name":"django","fixedVersion":"3.2.11"},{"ecosystem":"PyPI","name":"django","fixedVersion":"4.0.1"}],"fix":{"url":"https://github.com/django/django/commit/2a8ec7f546d6d5806e221ec948c5146b55bd7489","label":"django/django@2a8ec7f"},"references":[{"type":"WEB","url":"https://groups.google.com/forum/#%21forum/django-announce"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220121-0005/"},{"type":"FIX","url":"https://docs.djangoproject.com/en/4.0/releases/security/"},{"type":"FIX","url":"https://www.djangoproject.com/weblog/2022/jan/04/security-releases/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45116"},{"type":"WEB","url":"https://github.com/django/django/commit/2a8ec7f546d6d5806e221ec948c5146b55bd7489"},{"type":"WEB","url":"https://github.com/django/django/commit/c7fe895bca06daf12cc1670b56eaf72a1ef27a16"},{"type":"WEB","url":"https://github.com/django/django/commit/c9f648ccfac5ab90fb2829a66da4f77e68c7f93a"},{"type":"WEB","url":"https://docs.djangoproject.com/en/4.0/releases/security"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8c5j-9r9f-c6w8"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-2.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!forum/django-announce"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220121-0005"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2022/jan/04/security-releases"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T06:00:47.108489908Z"}}