
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2020-24583 is a security vulnerability discovered in Django versions 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 when using Python 3.7+. The vulnerability was disclosed on September 1, 2020, and affects the file upload directory permissions functionality. The issue occurs because FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not properly applied to intermediate-level directories created during file uploads and when using the collectstatic management command (Django Security).
The vulnerability stems from a behavioral change in Python 3.7+ where the FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not correctly applied to intermediate-level directories created during two specific operations: the file upload process and the collectstatic management command execution. This security flaw has a CVSS v3.1 Base Score of 7.5 (HIGH) with the vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NetApp Advisory).
The vulnerability could lead to disclosure of sensitive information through incorrect directory permissions. When exploited, it could potentially allow unauthorized access to uploaded files or static files due to improper permission settings on intermediate-level directories (Ubuntu Security).
The vulnerability is exploitable when using Python 3.7 or higher with affected Django versions. While Python 3.7 is available for some systems, environments using earlier Python versions (like Ubuntu 18.04 LTS with Python 3.6) are not affected by this vulnerability (Ubuntu Security).
The issue has been fixed in Django versions 2.2.16, 3.0.10, and 3.1.1. Users should upgrade to these or later versions to address the vulnerability. Additionally, system administrators should review and manually fix permissions on existing intermediate-level directories that may have been created with incorrect permissions (Django Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."