# CVE-2020-24584: Django Incorrect Default Permissions

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.30%, higher than 88% of CVEs (2026-12-01)
- Published: 2020-09-01T12:36:06.000Z
- Modified: 2026-09-08T08:46:26.608Z
- Also known as: GHSA-fr28-569j-53c4, BIT-DJANGO-2020-24584, PYSEC-2020-34
- Weaknesses: CWE-276
- Assigned by: mitre

## 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). The intermediate-level directories of the filesystem cache had the system's standard umask rather than 0o077.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- django (PyPI): from 2.2 before 2.2.16; from 3.0 before 3.0.10; from 3.1 before 3.1.1
- djangoproject django: from 2.2 before 2.2.16; from 3.0 before 3.0.10; from 3.1 before 3.1.1
- canonical ubuntu_linux: 20.04
- fedoraproject fedora: 31; 32; 33
- oracle zfs_storage_appliance_kit: 8.8
- django (Bitnami): from 2.2.0 before 2.2.16; from 3.0.0 before 3.0.10; from 3.1.0 before 3.1.1

## Every score

- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://docs.djangoproject.com/en/dev/releases/security/> (advisory, vendor-advisory, web)
- <https://usn.ubuntu.com/4479-1/> (advisory, third-party-advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/> (vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2021.html> (advisory, patch, third-party-advisory, web)
- <https://groups.google.com/forum/#%21topic/django-announce/zFCMdgUnutU> (web)
- <https://groups.google.com/forum/#%21topic/django-announce/Gdqn58RqIDM> (web)
- <https://www.openwall.com/lists/oss-security/2020/09/01/2> (advisory, mailing-list, patch, third-party-advisory, web)
- <https://www.djangoproject.com/weblog/2020/sep/01/security-releases/> (advisory, article, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20200918-0004/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-24584> (advisory, web)
- <https://github.com/django/django/commit/1853724acaf17ed7414d54c7d2b5563a25025a71> (web)
- <https://github.com/django/django/commit/2b099caa5923afa8cfb5f1e8c0d56b6e0e81915b> (web)
- <https://github.com/django/django/commit/a3aebfdc8153dc230686b6d2454ccd32ed4c9e6f> (web)
- <https://github.com/django/django/commit/cdb367c92a0ba72ddc0cbd13ff42b0e6df709554> (web)
- <https://www.djangoproject.com/weblog/2020/sep/01/security-releases> (web)
- <https://usn.ubuntu.com/4479-1> (web)
- <https://security.netapp.com/advisory/ntap-20200918-0004> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU> (web)
- <https://groups.google.com/forum/#!topic/django-announce/zFCMdgUnutU> (web)
- <https://groups.google.com/forum/#!topic/django-announce/Gdqn58RqIDM> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-34.yaml> (web)
- <https://github.com/django/django> (package)
- <https://github.com/advisories/GHSA-fr28-569j-53c4> (advisory)
- <https://docs.djangoproject.com/en/dev/releases/security> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/> (web)

## Sources

- CVE List: [CVE-2020-24584](https://www.cve.org/CVERecord?id=CVE-2020-24584), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-fr28-569j-53c4](https://github.com/advisories/GHSA-fr28-569j-53c4), CC-BY-4.0, modified 2024-11-19
- NVD: [CVE-2020-24584](https://nvd.nist.gov/vuln/detail/CVE-2020-24584), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-34](https://osv.dev/vulnerability/PYSEC-2020-34), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-DJANGO-2020-24584](https://osv.dev/vulnerability/BIT-DJANGO-2020-24584), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-24584 · Whole record: https://cve.day/CVE-2020-24584.json · Rebuilt by cve.day 2026-11-25T22:57:54.453Z
