First published: Tue Sep 01 2020(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Djangoproject Django | >=2.2<2.2.16 | |
Djangoproject Django | >=3.0<3.0.10 | |
Djangoproject Django | >=3.1<3.1.1 | |
Canonical Ubuntu Linux | =20.04 | |
Fedoraproject Fedora | =31 | |
Fedoraproject Fedora | =32 | |
Fedoraproject Fedora | =33 | |
Oracle ZFS Storage Appliance Kit | =8.8 | |
pip/Django | >=3.1a1<3.1.1 | 3.1.1 |
pip/Django | >=3.0a1<3.0.10 | 3.0.10 |
pip/Django | >=2.2a1<2.2.16 | 2.2.16 |
debian/python-django | 2:2.2.28-1~deb11u2 3:3.2.19-1+deb12u1 3:4.2.16-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2020-24583 is high, with a CVSS score of 7.5.
To fix CVE-2020-24583, you should upgrade Django to version 2.2.16, 3.0.10, or 3.1.1, depending on the version you are using.
The affected software for CVE-2020-24583 includes Django versions before 2.2.16, 3.0.10, and 3.1.1.
Yes, you can find references for CVE-2020-24583 at the following links: [NIST CVE-2020-24583](https://nvd.nist.gov/vuln/detail/CVE-2020-24583), [GitHub Commit](https://github.com/django/django/commit/8d7271578d7b153435b40fe40236ebec43cbf1b9), [Django Releases](https://docs.djangoproject.com/en/dev/releases/security/).
The CWE category for CVE-2020-24583 is CWE-276: Incorrect Default Permissions.