CVE-2020-24583 in Canonical Ubuntu Linux and 3 more products
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 d...
Affects 4 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 20.04 |
| Djangoproject | Django | ≥ 2.2, < 2.2.16 ≥ 3.0, < 3.0.10 ≥ 3.1, < 3.1.1 |
| Fedoraproject | Fedora | 31 32 33 |
| Oracle | Zfs Storage Appliance Kit | 8.8 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-24583 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-180387-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2020-09-01 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-276: Incorrect Default Permissions
Software sets overly permissive default access rights during installation or resource creation.
Related attack patterns (CAPEC)
CAPEC-81 Web Server Logs Tampering via CWE-276
CAPEC-127 Directory Indexing via CWE-276
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-276
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Django versions 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 do not apply FILE_UPLOAD_DIRECTORY_PERMISSIONS to intermediate directories during file uploads and static file collection, potentially leading to unauthorized access.
An attacker could exploit this vulnerability by uploading files to a directory where they could gain unauthorized access to intermediate directories, potentially leading to sensitive data exposure or manipulation.
Questions
What is CVE-2020-24583?
Django versions 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 do not apply FILE_UPLOAD_DIRECTORY_PERMISSIONS to intermediate directories during file uploads and static file collection, potentially leading to unauthorized access.
What is the CVSS score for CVE-2020-24583?
CVE-2020-24583 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 3.3%.
Is CVE-2020-24583 actively exploited?
No confirmed active exploitation of CVE-2020-24583 as of 2026-09-25.
How do I remediate CVE-2020-24583?
Priority: HIGH. Advisory: https://docs.djangoproject.com/en/dev/releases/security/ PSIRT: [email protected]
What systems are affected by CVE-2020-24583?
CVE-2020-24583 affects Canonical Ubuntu Linux; Djangoproject Django; Fedoraproject Fedora; Oracle Zfs Storage Appliance Kit.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.