CVE-2021-45452: Directory-traversal in Django
(updated )
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.
References
- docs.djangoproject.com/en/4.0/releases/security
- github.com/advisories/GHSA-jrh2-hc4r-7jwx
- github.com/django/django
- github.com/django/django/commit/4cb35b384ceef52123fc66411a73c36a706825e1
- github.com/django/django/commit/8d2f7cff76200cbd2337b2cf1707e383eb1fb54b
- github.com/django/django/commit/e1592e0f26302e79856cc7f2218ae848ae19b0f6
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-3.yaml
- groups.google.com/forum/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV
- nvd.nist.gov/vuln/detail/CVE-2021-45452
- security.netapp.com/advisory/ntap-20220121-0005
- www.djangoproject.com/weblog/2022/jan/04/security-releases
Detect and mitigate CVE-2021-45452 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →