CVE-2021-45116
Information disclosure in Django
7.5
HIGH
CVSS 3.1
EPSS 0.36%
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.
How to fix CVE-2021-45116
To remediate CVE-2021-45116, upgrade the affected package to a fixed version below.
- —upgrade to 2.2.26 or later
- —upgrade to 2:2.2.26-1~deb11u1 or later
- —upgrade to 2.2.26 or later
- —upgrade to 2.2.26 or later
Is CVE-2021-45116 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- >= 2.2.0, < 2.2.26, >= 3.2.0, < 3.2.11, >= 4.0.0, < 4.0.1
- from 0, < 2:2.2.26-1~deb11u1
- >= 2.2, < 2.2.26
- >= 2.2, < 2.2.26, >= 3.2, < 3.2.11, >= 4.0, < 4.0.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |