CVE-2020-24584
Django Incorrect Default Permissions
Reported by mitre · Published September 1, 2020
django is fixed in 3.1.1, 3.0.10 and 2.2.16 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| django | PyPI | 3.1.1, 3.0.10, 2.2.16 |
| py3-django | Alpine | 3.1.1-r0, 1.11.29-r1 |
| python-django | Ubuntu:20.04:LTS | 2:2.2.12-1ubuntu0.2 |
| django | Bitnami | 3.1.1, 3.0.10, 2.2.16 |
| django | djangoproject | 3.1.1, 3.0.10, 2.2.16 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | Django | 2.2, 3.1, 3.0 |
| alpine | py3-django | 0, 0 |
| n/a | n/a | * |
| arch | python-django | 0 |
| alpine | py-django | 0 |
Timeline
- Sep 1, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (2 in total, the first dated here)
- Sep 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-24584
vulnetix vdb fixes CVE-2020-24584
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-24584/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- USN-4479-1 vendor-advisoryx_refsource_UBUNTU
- FEDORA-2020-94407454d7 vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-6941c0a65b vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-9c6b391162 vendor-advisoryx_refsource_FEDORA
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2020-24584 advisory
- https://github.com/advisories/GHSA-fr28-569j-53c4 advisory
- https://github.com/django/django/commit/1853724acaf17ed7414d54c7d2b5563a25025a71 patch
- https://github.com/django/django/commit/2b099caa5923afa8cfb5f1e8c0d56b6e0e81915b patch
- https://github.com/django/django/commit/a3aebfdc8153dc230686b6d2454ccd32ed4c9e6f patch
- https://github.com/django/django/commit/cdb367c92a0ba72ddc0cbd13ff42b0e6df709554 patch
- https://www.djangoproject.com/weblog/2020/sep/01/security-releases url
- https://usn.ubuntu.com/4479-1 url
- https://security.netapp.com/advisory/ntap-20200918-0004 advisory
…and 8 more