Vulnerability advisory
GHSA-8c5j-9r9f-c6w8
Information disclosure in Django
Also known as BIT-django-2021-45116CVE-2021-45116PYSEC-2022-2
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Affected versions
| Affected | Fixed in |
|---|---|
2.2 to before 2.2.26 | 2.2.26Advisories → |
3.2 to before 3.2.11 | 3.2.11Advisories → |
4.0 to before 4.0.1 | 4.0.1Advisories → |
Also listed as affected (1) | |
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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-45116 ↗
- Webgithub.com/django/django/commit/2a8ec7f546d6d5806e221ec948c5146b55bd7489 ↗
- Webgithub.com/django/django/commit/c7fe895bca06daf12cc1670b56eaf72a1ef27a16 ↗
- Webgithub.com/django/django/commit/c9f648ccfac5ab90fb2829a66da4f77e68c7f93a ↗
- Webdocs.djangoproject.com/en/4.0/releases/security ↗
- Advisorygithub.com/advisories/GHSA-8c5j-9r9f-c6w8 ↗
- Packagegithub.com/django/django ↗
- Webgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-2.yaml ↗
- Webgroups.google.com/forum/#!forum/django-announce ↗
- Weblists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV ↗
- Websecurity.netapp.com/advisory/ntap-20220121-0005 ↗
- Webwww.djangoproject.com/weblog/2022/jan/04/security-releases ↗