Vulnerability · Published Jan 4, 2022 · Assigned by mitre
CVE-2021-45452
Medium 5.3
In plain English
A medium-severity security flaw 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.6% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)2.6%top 14.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Storage.save in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 allows directory traversal if crafted filenames are directly passed to it.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-django | 3.2.12-r0 | ALPINE-CVE-2021-45452 |
| Alpine:v3.21 | py3-django | 3.2.12-r0 | ALPINE-CVE-2021-45452 |
| Alpine:v3.22 | py3-django | 3.2.12-r0 | ALPINE-CVE-2021-45452 |
| Alpine:v3.23 | py3-django | 3.2.12-r0 | ALPINE-CVE-2021-45452 |
| Alpine:v3.24 | py3-django | 3.2.12-r0 | ALPINE-CVE-2021-45452 |
| Debian:12 | python-django | 2:3.2.11-1 | DEBIAN-CVE-2021-45452 |
| Debian:13 | python-django | 2:3.2.11-1 | DEBIAN-CVE-2021-45452 |
| Debian:14 | python-django | 2:3.2.11-1 | DEBIAN-CVE-2021-45452 |
| PyPI | django | 2.2.26 | GHSA-jrh2-hc4r-7jwx |
| PyPI | django | 3.2.11 | GHSA-jrh2-hc4r-7jwx |
| PyPI | django | 4.0.1 | GHSA-jrh2-hc4r-7jwx |
| PyPI | django | 2.2.26, 3.2.11, 4.0.1 | PYSEC-2022-3 |
| Rocky Linux:8 | libdb | 0:5.3.28-42.el8_4 | RLSA-2022:5498 |
Affected products (as reported)
References
- https://groups.google.com/forum/#%21forum/django-announce x_refsource_MISC
- https://docs.djangoproject.com/en/4.0/releases/security/ x_refsource_MISC
- https://www.djangoproject.com/weblog/2022/jan/04/security-releases/ x_refsource_CONFIRM
- https://security.netapp.com/advisory/ntap-20220121-0005/ x_refsource_CONFIRM
- FEDORA-2022-e7fd530688 vendor-advisory, x_refsource_FEDORA