CVE-2020-24583 json
Django Incorrect Default Permissions
published 6y ago modified 2mo ago also BIT-django-2020-24583 , EUVD-2020-0069 , GHSA-m6gj-h9gm-gw44 , PYSEC-2020-33
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi django 2.2.16, 3.0.10, 3.1.1
- bitnami django 2.2.16, 3.0.10, 3.1.1
- djangoproject django 2.2.16, 3.0.10, 3.1.1
- python-django Debian 14, Debian 13, Debian 12 2:2.2.16-1
debian advisories DEBIAN-CVE-2020-24583
- python-django Ubuntu 20.04 LTS 2:2.2.12-1ubuntu0.2
ubuntu advisories UBUNTU-CVE-2020-24583
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-Django5 openSUSE Tumbleweed 5.2.16-1.1
- python-Django openSUSE Tumbleweed 5.2.16-1.1
- python-Django4 openSUSE Tumbleweed 4.2.30-4.1
- python-Django6 openSUSE Tumbleweed 6.0-1.1
- python-Django4 openSUSE Tumbleweed 4.2.14-1.1
- python-Django openSUSE Tumbleweed 3.2.7-2.3
- python-Django openSUSE Tumbleweed 4.2.11-2.1
opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:11248-1openSUSE-SU-2026:11235-1openSUSE-SU-2026:10005-1openSUSE-SU-2024:14208-1openSUSE-SU-2024:11205-1
- py-django Alpine 3.10, Alpine 3.9 1.11.29-r1
- py3-django Alpine 3.12, Alpine 3.11 1.11.29-r1
- py3-django Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 3.1.1-r0
alpine advisories ALPINE-CVE-2020-24583
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-django Arch Linux 3.1.1-1
arch linux advisories AVG-1217
Is CVE-2020-24583 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-24583 updated cvss 7.5
django: incorrect permissions on intermediate-level directories on Python 3.7+
-
Red Hat Ceph Storage 2 python-django, python-django-bash-completion Red Hat Ceph Storage 3 python-django, python-django-bash-completion Red Hat OpenStack Platform 10 (Newton) python-django, python-django-bash-completion Red Hat OpenStack Platform 13 (Queens) python-django, python2-django, python-django-bash-completion Red Hat OpenStack Platform 15 (Stein) python-django, python3-django, python-django-bash-completion Red Hat OpenStack Platform 16 (Train) python-django, python3-django, python-django-bash-completionaffected: no fix planned “Out of support scope”
+1 more productsfewer
Red Hat Storage 3 python-django, python2-django, python-django-bash-completion -
Red Hat Satellite 6 python-django, python2-django, python-django-bash-completion Red Hat Update Infrastructure 3 for Cloud Providers python-djangonot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.97% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=2.2a1, <2.2.16 >=3.0a1, <3.0.10 >=3.1a1, <3.1.1 >=2.2, <2.2.16 >=3.0, <3.0.10 >=3.1, <3.1.1 |
2.2.16 3.0.10 3.1.1 |
| bitnami | django | >=2.2.0, <2.2.16 >=3.0.0, <3.0.10 >=3.1.0, <3.1.1 |
2.2.16 3.0.10 3.1.1 |
Classification
- Weakness
-
- CWE-276 Incorrect Default Permissions
- Technology feeds
References
-
docs.djangoproject.com
/en/dev/releases/security/
patch, vendor-advisory, advisory, web
-
oracle.com
/security-alerts/cpujan2021.html
web, patch, third-party-advisory, advisory
-
openwall.com
/lists/oss-security/2020/09/01/2
web, mailing-list, patch, third-party-advisory, advisory
-
github.com
/django/django/commit/8d7271578d7b153435b40fe40236ebec43cbf1b9
web
-
usn.ubuntu.com
/4479-1/
vendor-advisory, third-party-advisory, advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/
vendor-advisory, web
-
djangoproject.com
/weblog/2020/sep/01/security-releases/
vendor-advisory, advisory, article
-
groups.google.com
/forum/#%21topic/django-announce/zFCMdgUnutU
web
-
groups.google.com
/forum/#%21topic/django-announce/Gdqn58RqIDM
web
-
security.netapp.com
/advisory/ntap-20200918-0004/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-24583
advisory, web
-
docs.djangoproject.com
/en/dev/releases/security
web
-
github.com
/advisories/GHSA-m6gj-h9gm-gw44
advisory
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-33.yaml
web
-
groups.google.com
/forum/#!topic/django-announce/Gdqn58RqIDM
web
-
groups.google.com
/forum/#!topic/django-announce/zFCMdgUnutU
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI
web
-
security.netapp.com
/advisory/ntap-20200918-0004
web
-
usn.ubuntu.com
/4479-1
web
-
djangoproject.com
/weblog/2020/sep/01/security-releases
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/
web
Sources
- CVE List CVE-2020-24583
- GitHub Advisory GHSA-m6gj-h9gm-gw44
- NVD CVE-2020-24583
- OSV BIT-django-2020-24583
- OSV PYSEC-2020-33
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.