CVE-2021-45452
MEDIUM5.3EPSS 0.24%python-django - security update
Published: 1/12/2022Modified: 4/3/2025
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 (5)
- Bitnami/django>= 2.2.0, < 2.2.26, >= 3.2.0, < 3.2.11, >= 4.0.0, < 4.0.1
- Debian/python-djangofrom 0, < 2:2.2.26-1~deb11u1
- Debian/python-djangofrom 0, < 1:1.11.29-1+deb10u4
- PyPI/django>= 2.2, < 2.2.26
- PyPI/django>= 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:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
References (18)
- ADVISORYhttps://github.com/advisories/GHSA-jrh2-hc4r-7jwx
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-45452
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-45452
- ADVISORYhttps://www.djangoproject.com/weblog/2022/jan/04/security-releases/
- PATCHhttps://github.com/django/django
- WEBhttps://docs.djangoproject.com/en/4.0/releases/security
- WEBhttps://docs.djangoproject.com/en/4.0/releases/security/
- WEBhttps://github.com/django/django/commit/4cb35b384ceef52123fc66411a73c36a706825e1
- WEBhttps://github.com/django/django/commit/8d2f7cff76200cbd2337b2cf1707e383eb1fb54b
- WEBhttps://github.com/django/django/commit/e1592e0f26302e79856cc7f2218ae848ae19b0f6
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-3.yaml
- WEBhttps://groups.google.com/forum/#%21forum/django-announce
- WEBhttps://groups.google.com/forum/#!forum/django-announce
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV
- WEBhttps://security.netapp.com/advisory/ntap-20220121-0005
- WEBhttps://security.netapp.com/advisory/ntap-20220121-0005/
- WEBhttps://www.djangoproject.com/weblog/2022/jan/04/security-releases