Vulnerability · Published Jan 4, 2022 · Assigned by mitre

CVE-2021-45116

High 7.5

In plain English

A high-severity improper input validation in the py3-django package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.0%top 19.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20py3-django3.2.12-r0ALPINE-CVE-2021-45116
Alpine:v3.21py3-django3.2.12-r0ALPINE-CVE-2021-45116
Alpine:v3.22py3-django3.2.12-r0ALPINE-CVE-2021-45116
Alpine:v3.23py3-django3.2.12-r0ALPINE-CVE-2021-45116
Alpine:v3.24py3-django3.2.12-r0ALPINE-CVE-2021-45116
Debian:12python-django2:3.2.11-1DEBIAN-CVE-2021-45116
Debian:13python-django2:3.2.11-1DEBIAN-CVE-2021-45116
Debian:14python-django2:3.2.11-1DEBIAN-CVE-2021-45116
PyPIdjango2.2.26GHSA-8c5j-9r9f-c6w8
PyPIdjango3.2.11GHSA-8c5j-9r9f-c6w8
PyPIdjango4.0.1GHSA-8c5j-9r9f-c6w8
PyPIdjango2.2.26, 3.2.11, 4.0.1PYSEC-2022-2
Rocky Linux:8libdb0:5.3.28-42.el8_4RLSA-2022:5498

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References