CVE-2020-24583
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.
How to fix
- djangoproject django2.2.16, 3.0.10, 3.1.1 or later
- django2.2.16, 3.0.10, 3.1.1 or later
- usn.ubuntu.com/4479-1/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| djangoproject django | 2.2 ≤ v < 2.2.16, 3.0 ≤ v < 3.0.10, 3.1 ≤ v < 3.1.1 | 2.2.16, 3.0.10, 3.1.1 |
| canonical ubuntu_linux | 20.04 | — |
| fedoraproject fedora | 31, 32, 33 | — |
| oracle zfs_storage_appliance_kit | 8.8 | — |
| djangoPyPI | 2.2a1 ≤ v < 2.2.16, 3.0a1 ≤ v < 3.0.10, 3.1a1 ≤ v < 3.1.1, 2.2 ≤ v < 2.2.16, 3.0 ≤ v < 3.0.10, 3.1 ≤ v < 3.1.1 | 2.2.16, 3.0.10, 3.1.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.