Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-24583
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:49 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-24583
Complete source record
{
"id": "07694830aabf7fed784e09125cd470b0494eeca19958aa72f3531aab1ec28943",
"url": "https://osv.dev/vulnerability/CVE-2020-24583",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-24583",
"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). 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.",
"evidence": "osv:CVE-2020-24583",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-24583",
"aliases": [
"BIT-django-2020-24583",
"CVE-2020-24583",
"GHSA-m6gj-h9gm-gw44",
"PYSEC-2020-33"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/django/django",
"type": "GIT",
"events": [
{
"introduced": "2a62cdcfec85938f40abb2e9e6a9ff497e02afe8"
},
{
"fixed": "bf07047f45767eddaf52400c60f7e2becc8891d3"
},
{
"introduced": "2a04e24d2dfc8e60a66e4369d970913cb2112d91"
},
{
"fixed": "a208020ecd0aa568cb5be6ef8b76701224ebe1a2"
},
{
"introduced": "0b8a0296bfd30748f08021834e95cdae241686e8"
},
{
"fixed": "450df4a45a064cb8455be3aa04805be0fef5abf9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.2"
},
{
"fixed": "2.2.16"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0"
},
{
"fixed": "3.0.10"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.1"
},
{
"fixed": "3.1.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24583.json"
}
}
],
"modified": "2026-10-24T10:30:44.979709304Z",
"provider": "osv",
"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"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "20.04"
},
{
"last_affected": "20.04"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "31"
},
{
"last_affected": "31"
},
{
"introduced": "32"
},
{
"last_affected": "32"
},
{
"introduced": "33"
},
{
"last_affected": "33"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:zfs_storage_appliance_kit",
"extracted_events": [
{
"range": [
{
"introduced": "8.8"
},
{
"last_affected": "8.8"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-24583",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 436015,
"published_at": "2020-09-01T13:15:11.15+00:00"
}