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
Link | Resource |
---|---|
https://docs.djangoproject.com/en/4.0/releases/security/ | Patch Vendor Advisory |
https://groups.google.com/forum/#!forum/django-announce | Third Party Advisory |
https://www.djangoproject.com/weblog/2022/jan/04/security-releases/ | Patch Vendor Advisory |
https://security.netapp.com/advisory/ntap-20220121-0005/ | Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ | Mailing List Third Party Advisory |
Information
Published : 2022-01-04 16:15
Updated : 2022-02-10 21:30
NVD link : CVE-2021-45452
Mitre link : CVE-2021-45452
JSON object : View
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Products Affected
djangoproject
- django
fedoraproject
- fedora