Description
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.
Remediation
References
Related Vulnerabilities
MySQL CVE-2021-2196 Vulnerability (CVE-2021-2196)
SeoPanel Cross-site Scripting (XSS) Vulnerability (CVE-2021-3002)
WordPress Plugin UpdraftPlus WordPress Backup Security Bypass (1.22.1)
MySQL CVE-2018-3170 Vulnerability (CVE-2018-3170)
WordPress Plugin Simple Backup Arbitrary File Download (2.7.10)