CVE-2020-24584 json
Django Incorrect Default Permissions
published 2020-09-01 6 y ago modified 2026-09-08 2 mo ago also BIT-django-2020-24584 , EUVD-2020-0070 , GHSA-fr28-569j-53c4 , PYSEC-2020-34
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.3%
- EPSS 3.3% chance of exploitation in 30 days, percentile 88%
- 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). The intermediate-level directories of the filesystem cache had the system's standard umask rather than 0o077.
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-24584
- python-django Ubuntu 20.04 LTS 2:2.2.12-1ubuntu0.2
ubuntu advisories UBUNTU-CVE-2020-24584
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-24584
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
Vendor 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-24584 updated cvss 7.5
django: permission escalation in intermediate-level directories of the file system cache 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.30% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
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.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
-
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/1853724acaf17ed7414d54c7d2b5563a25025a71
web
-
github.com
/django/django/commit/2b099caa5923afa8cfb5f1e8c0d56b6e0e81915b
web
-
github.com
/django/django/commit/a3aebfdc8153dc230686b6d2454ccd32ed4c9e6f
web
-
github.com
/django/django/commit/cdb367c92a0ba72ddc0cbd13ff42b0e6df709554
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
-
docs.djangoproject.com
/en/dev/releases/security/
vendor-advisory, 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-24584
advisory, web
-
djangoproject.com
/weblog/2020/sep/01/security-releases
web
-
usn.ubuntu.com
/4479-1
web
-
security.netapp.com
/advisory/ntap-20200918-0004
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
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU
web
-
groups.google.com
/forum/#!topic/django-announce/zFCMdgUnutU
web
-
groups.google.com
/forum/#!topic/django-announce/Gdqn58RqIDM
web
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-34.yaml
web
-
github.com
/django/django
package
-
github.com
/advisories/GHSA-fr28-569j-53c4
advisory
-
docs.djangoproject.com
/en/dev/releases/security
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-24584
- GitHub Advisory GHSA-fr28-569j-53c4
- NVD CVE-2020-24584
- OSV BIT-django-2020-24584
- OSV PYSEC-2020-34
Fencer Vulns 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.