cve.bz

CVE-2021-45116

7.5 highEPSS 2.0%

High (7.5). EPSS 2.0% chance of exploitation in the next 30 days. Fixed in django 2.2.26, 3.2.11, 4.0.1.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
2.0% chance of exploitation in the next 30 days; higher than 80% of CVEs (scores of 2026-10-31)
CWE
CWE-20
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8c5j-9r9f-c6w8PyPIdjango>=2.2 <2.2.262.2.26
GHSA-8c5j-9r9f-c6w8PyPIdjango>=3.2 <3.2.113.2.11
GHSA-8c5j-9r9f-c6w8PyPIdjango>=4.0 <4.0.14.0.1
PYSEC-2022-2PyPIdjango>=2.2 <2.2.26
>=3.2 <3.2.11
>=4.0 <4.0.1
2.2.26, 3.2.11, 4.0.1

References

Check your stackJSON