python-django — 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
- python-django
- Affected versions
- Not specified
- Fixed versions
- 2:2.2.16-1
- CVEs
- CVE-2020-24583
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 13:08 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:DEBIAN-CVE-2020-24583
python-django
Fixed versions: 2:2.2.16-1
python-django
Fixed versions: 2:2.2.16-1
python-django
Fixed versions: 2:2.2.16-1
Complete source record
{
"id": "3b7db365611b340ee904f8042a9867c45bf41a5f6fcfdcbbaec035cc6b58ebde",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-24583",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-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:DEBIAN-CVE-2020-24583",
"products": [
{
"name": {
"value": "python-django",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:2.2.16-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "python-django",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:2.2.16-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "python-django",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:2.2.16-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2020-24583",
"aliases": [
"DEBIAN-CVE-2020-24583"
],
"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": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:2.2.16-1"
}
]
}
],
"package": {
"name": "python-django",
"purl": "pkg:deb/debian/python-django?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-24583.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:2.2.16-1"
}
]
}
],
"package": {
"name": "python-django",
"purl": "pkg:deb/debian/python-django?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-24583.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:2.2.16-1"
}
]
}
],
"package": {
"name": "python-django",
"purl": "pkg:deb/debian/python-django?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-24583.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:01:45.946415107Z",
"provider": "osv",
"upstream": [
"CVE-2020-24583"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-24583"
]
},
"related_cves": [
{
"value": "CVE-2020-24583",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 451828,
"published_at": "2020-09-01T13:15:11.15+00:00"
}