CVE-2021-45116
published high CVSS 3.1 · 7.5django: Potential information disclosure in dictsort template filter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | py3-django | Fixed | 3.2.12-r0 | Package fix record |
| Debian | buster | python-django | Advisory build | 1:1.11.29-1+deb10u3 | DLA-3177-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python3-Djangonoarch | Advisory build | 2.2.28-bp153.2.3.1 | OPENSUSE-SU-2023:0005-1 |
| Ubuntu | bionic | python-django | Advisory build | 1:1.11.11-1ubuntu1.15 | USN-5204-1 |
| Rocky Linux | 8 | libdbsrc | Listed in advisory | Not stated | RLSA-2022:5498 |
| Alpine Linux | v3.16 | py3-django | Fixed | 3.2.12-r0 | Package fix record |
| Alpine Linux | v3.17 | py3-django | Fixed | 3.2.12-r0 | Package fix record |
Show 18 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.18 | py3-django | Fixed | 3.2.12-r0 | Package fix record |
| Alpine Linux | v3.19 | py3-django | Fixed | 3.2.12-r0 | Package fix record |
| Alpine Linux | v3.20 | py3-django | Fixed | 3.2.12-r0 | Package fix record |
| Alpine Linux | v3.21 | py3-django | Fixed | 3.2.12-r0 | Package fix record |
| Alpine Linux | v3.22 | py3-django | Fixed | 3.2.12-r0 | Package fix record |
| Alpine Linux | v3.23 | py3-django | Fixed | 3.2.12-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-django | Fixed | 3.2.12-r0 | Package fix record |
| Ubuntu | bionic | python-django-common | Advisory build | 1:1.11.11-1ubuntu1.15 | USN-5204-1 |
| Ubuntu | bionic | python3-django | Advisory build | 1:1.11.11-1ubuntu1.15 | USN-5204-1 |
| Ubuntu | focal | python-django | Advisory build | 2:2.2.12-1ubuntu0.9 | USN-5204-1 |
| Ubuntu | focal | python3-django | Advisory build | 2:2.2.12-1ubuntu0.9 | USN-5204-1 |
| Rocky Linux | 8 | libdb-cxxx86_64 | Listed in advisory | Not stated | RLSA-2022:5498 |
| Rocky Linux | 8 | libdb-cxx-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:5498 |
| Rocky Linux | 8 | libdb-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:5498 |
| Rocky Linux | 8 | libdb-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2022:5498 |
| Rocky Linux | 8 | libdb-sql-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:5498 |
| Rocky Linux | 8 | libdb-sql-devel-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:5498 |
| Rocky Linux | 8 | libdb-utils-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:5498 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-20 CWE-20 Improper Input Validation
References
5- https://docs.djangoproject.com/en/4.0/releases/security/
- https://groups.google.com/forum/#%21forum/django-announce
- FEDORA-2022-e7fd530688 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
- https://security.netapp.com/advisory/ntap-20220121-0005/
- https://www.djangoproject.com/weblog/2022/jan/04/security-releases/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- caa98653bcc4b9abb787ac5f82408e9e008fd66f45b374268f6e4131acfc286b
- Ingested
- 23 Sep 2026, 07:56:43 UTC
- Source record
- Official CVE record