Vulnerability · Published Sep 1, 2020 · Assigned by mitre
CVE-2020-24583
High 7.5
In plain English
A high-severity security flaw in the py3-django package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.0% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)4.0%top 9.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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). 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-django | 3.1.1-r0 | ALPINE-CVE-2020-24583 |
| Alpine:v3.21 | py3-django | 3.1.1-r0 | ALPINE-CVE-2020-24583 |
| Alpine:v3.22 | py3-django | 3.1.1-r0 | ALPINE-CVE-2020-24583 |
| Alpine:v3.23 | py3-django | 3.1.1-r0 | ALPINE-CVE-2020-24583 |
| Alpine:v3.24 | py3-django | 3.1.1-r0 | ALPINE-CVE-2020-24583 |
| Debian:12 | python-django | 2:2.2.16-1 | DEBIAN-CVE-2020-24583 |
| Debian:13 | python-django | 2:2.2.16-1 | DEBIAN-CVE-2020-24583 |
| Debian:14 | python-django | 2:2.2.16-1 | DEBIAN-CVE-2020-24583 |
| PyPI | django | 2.2.16, 3.0.10, 3.1.1 | PYSEC-2020-33 |
| PyPI | django | 3.1.1 | GHSA-m6gj-h9gm-gw44 |
| PyPI | django | 3.0.10 | GHSA-m6gj-h9gm-gw44 |
| PyPI | django | 2.2.16 | GHSA-m6gj-h9gm-gw44 |
Affected products (as reported)
References
- https://docs.djangoproject.com/en/dev/releases/security/ x_refsource_MISC
- USN-4479-1 vendor-advisory, x_refsource_UBUNTU
- FEDORA-2020-94407454d7 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-6941c0a65b vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-9c6b391162 vendor-advisory, x_refsource_FEDORA
- https://www.oracle.com/security-alerts/cpujan2021.html x_refsource_MISC
- https://groups.google.com/forum/#%21topic/django-announce/zFCMdgUnutU x_refsource_MISC
- https://groups.google.com/forum/#%21topic/django-announce/Gdqn58RqIDM x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2020/09/01/2 x_refsource_MISC
- https://www.djangoproject.com/weblog/2020/sep/01/security-releases/ x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20200918-0004/ x_refsource_CONFIRM