{"id":"CVE-2020-24584","aliases":["CVE-2020-24584","GHSA-fr28-569j-53c4","BIT-DJANGO-2020-24584","PYSEC-2020-34"],"related":[],"kind":"vulnerability","state":"published","title":"Django Incorrect Default Permissions","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se detectó un problema en Django versiones 2.2 anteriores a 2.2.16, versiones 3.0 anteriores a 3.0.10 y versiones 3.1 anteriores a 3.1.1 (cuando es usado Python 3.7+).&#xa0;Los directorios de nivel intermedio de la caché del sistema de archivos tenían la umask estándar del sistema en lugar de 0o077","source":"nvd"}],"published":"2020-09-01T12:36:06.000Z","modified":"2026-09-08T08:46:26.608Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-276"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.2","status":"affected","fixed":"2.2.16"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0","status":"affected","fixed":"3.0.10"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.1","status":"affected","fixed":"3.1.1"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.2","fixed":"2.2.16"},{"status":"affected","introduced":"3.0","fixed":"3.0.10"},{"status":"affected","introduced":"3.1","fixed":"3.1.1"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"20.04"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"31"},{"status":"affected","version":"32"},{"status":"affected","version":"33"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.8"}],"vendor":"oracle","product":"zfs_storage_appliance_kit","cpe":"cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.2","status":"affected","fixed":"2.2.16"},{"type":"ecosystem","introduced":"3.0","status":"affected","fixed":"3.0.10"},{"type":"ecosystem","introduced":"3.1","status":"affected","fixed":"3.1.1"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"pysec"},{"ranges":[{"type":"semver","introduced":"2.2.0","status":"affected","fixed":"2.2.16"},{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.10"},{"type":"semver","introduced":"3.1.0","status":"affected","fixed":"3.1.1"}],"ecosystem":"Bitnami","package":"django","purl":"pkg:bitnami/django","source":"bitnami"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["advisory","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://usn.ubuntu.com/4479-1/","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpujan2021.html","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://groups.google.com/forum/#%21topic/django-announce/zFCMdgUnutU","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://groups.google.com/forum/#%21topic/django-announce/Gdqn58RqIDM","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.openwall.com/lists/oss-security/2020/09/01/2","tags":["advisory","mailing-list","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.djangoproject.com/weblog/2020/sep/01/security-releases/","tags":["advisory","article","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20200918-0004/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-24584","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/django/django/commit/1853724acaf17ed7414d54c7d2b5563a25025a71","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/2b099caa5923afa8cfb5f1e8c0d56b6e0e81915b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/a3aebfdc8153dc230686b6d2454ccd32ed4c9e6f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/cdb367c92a0ba72ddc0cbd13ff42b0e6df709554","tags":["web"],"sources":["ghsa"]},{"url":"https://www.djangoproject.com/weblog/2020/sep/01/security-releases","tags":["web"],"sources":["ghsa"]},{"url":"https://usn.ubuntu.com/4479-1","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20200918-0004","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU","tags":["web"],"sources":["ghsa"]},{"url":"https://groups.google.com/forum/#!topic/django-announce/zFCMdgUnutU","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://groups.google.com/forum/#!topic/django-announce/Gdqn58RqIDM","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-34.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-fr28-569j-53c4","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/","tags":["web"],"sources":["pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/","tags":["web"],"sources":["pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/","tags":["web"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-24584","url":"https://www.cve.org/CVERecord?id=CVE-2020-24584","licence":"CVE Terms of Use","modified":"2024-08-04T15:19:08.642Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fr28-569j-53c4","url":"https://github.com/advisories/GHSA-fr28-569j-53c4","licence":"CC-BY-4.0","modified":"2024-11-19T05:35:08.998Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-24584","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-24584","licence":"Public domain","modified":"2026-06-17T03:05:48.333Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-34","url":"https://osv.dev/vulnerability/PYSEC-2020-34","licence":"CC-BY-4.0","modified":"2023-12-06T01:00:24.135Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DJANGO-2020-24584","url":"https://osv.dev/vulnerability/BIT-DJANGO-2020-24584","licence":"Apache-2.0","modified":"2026-09-08T08:46:26.608Z"}],"updatedAt":"2026-11-25T22:57:54.453Z","epss":{"score":0.03297,"percentile":0.88833,"date":"2026-12-01T12:00:22.000Z"}}