CVE-2020-24583 · HIGH (CVSS 7.5)
Summary: An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 (when Python 3.7+ is used).
Details
An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 (when Python 3.7+ is used). FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not applied to intermediate-level directories created in the process of uploading files. It was also not applied to intermediate-level collected static directories when using the collectstatic management command.
Severity
HIGH (CVSS 7.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected packages
- PyPI django [2.2a1 – 2.2.16]
- PyPI django [3.0a1 – 3.0.10]
- PyPI django [3.1a1 – 3.1.1]
- GIT github.com/django/django [635d53a86a36cde7866b9caefeb64d809e6bfcd9 – bf07047f45767eddaf52400c60f7e2becc8891d3] [d36413a2eb5678dda35559a48769703acd784898 – a208020ecd0aa568cb5be6ef8b76701224ebe1a2] [ec5bc3a991bf6f2b9afe9b1b4068e4a1e62001c2 – bebb7d4d7e9092cbc435c67f58ebdbffaa75e777]
References
- https://groups.google.com/forum/#%21topic/django-announce/Gdqn58RqIDM
- https://groups.google.com/forum/#%21topic/django-announce/zFCMdgUnutU
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/
- https://security.netapp.com/advisory/ntap-20200918-0004/
- https://usn.ubuntu.com/4479-1/
- https://www.djangoproject.com/weblog/2020/sep/01/security-releases/
- https://docs.djangoproject.com/en/dev/releases/security/
- https://www.openwall.com/lists/oss-security/2020/09/01/2
- https://www.oracle.com/security-alerts/cpujan2021.html