An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 7 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | Django (PyPI) | 2.2a1 to before 2.2.16 | 2.2.16 | Patch available | GHSA-m6gj-h9gm-gw44 |
| — | Django (PyPI) | 3.0a1 to before 3.0.10 | 3.0.10 | Patch available | GHSA-m6gj-h9gm-gw44 |
| — | Django (PyPI) | 3.1a1 to before 3.1.1 | 3.1.1 | Patch available | GHSA-m6gj-h9gm-gw44 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- Django (PyPI) Vendor— Affected 2.2a1 to before 2.2.16 Fixed in 2.2.16 Patch available GHSA-m6gj-h9gm-gw44
- Django (PyPI) Vendor— Affected 3.0a1 to before 3.0.10 Fixed in 3.0.10 Patch available GHSA-m6gj-h9gm-gw44
- Django (PyPI) Vendor— Affected 3.1a1 to before 3.1.1 Fixed in 3.1.1 Patch available GHSA-m6gj-h9gm-gw44
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 2.2 to before 2.2.16; 3.0 to before 3.0.10; 3.1 to before 3.1.1 | Vulnerable | djangoproject |
| cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* | 20.04 | Vulnerable | Canonical |
| cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* | 31 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
| cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* | 8.8 | Vulnerable | Oracle |
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 2.2 to before 2.2.16; 3.0 to before 3.0.10; 3.1 to before 3.1.1 Vulnerable ·djangoproject
- cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* Versions 20.04 Vulnerable ·Canonical
- cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* Versions 31 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
- cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* Versions 8.8 Vulnerable ·Oracle
Remediation
- Fix · GHSA-m6gj-h9gm-gw44 Django (PyPI) Fixed in 2.2.16 Advisory →
- Fix · GHSA-m6gj-h9gm-gw44 Django (PyPI) Fixed in 3.0.10 Advisory →
- Fix · GHSA-m6gj-h9gm-gw44 Django (PyPI) Fixed in 3.1.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 2 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 10 (Newton) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 15 (Stein) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 16 (Train) | Affected | No fix planned: Out of support scope |
| Red Hat Storage 3 | Affected | No fix planned: Out of support scope |
Not affected: 2 products
- Red Hat Satellite 6
- Red Hat Update Infrastructure 3 for Cloud Providers
Timeline
- 2026-10-02 Threatist record created from CVE-2020-24583
- 2026-10-03 Alias added: GHSA-m6gj-h9gm-gw44
References
Patch 3
Advisory 8
Other 14
- https://groups.google.com/forum/#%21topic/django-announce/zFCMdgUnutU
- https://groups.google.com/forum/#%21topic/django-announce/Gdqn58RqIDM
- https://github.com/django/django/commit/8d7271578d7b153435b40fe40236ebec43cbf1b9
- https://docs.djangoproject.com/en/dev/releases/security
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-33.yaml
- https://groups.google.com/forum/#!topic/django-announce/Gdqn58RqIDM
- https://groups.google.com/forum/#!topic/django-announce/zFCMdgUnutU
- https://lists.fedoraproject.org/archives/list/[email protected]/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU
- https://lists.fedoraproject.org/archives/list/[email protected]/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI
- https://security.netapp.com/advisory/ntap-20200918-0004
- https://usn.ubuntu.com/4479-1
- https://www.djangoproject.com/weblog/2020/sep/01/security-releases
Sources
- CVE-2020-24583 · CVE Program
- CVE-2020-24583 · NVD
- FIRST EPSS
- GHSA-m6gj-h9gm-gw44 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-24583 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences