| 1 |
=========================== |
| 2 |
Django 3.0.10 release notes |
| 3 |
=========================== |
| 4 |
|
| 5 |
*September 1, 2020* |
| 6 |
|
| 7 |
Django 3.0.10 fixes two security issues and two data loss bugs in 3.0.9. |
| 8 |
|
| 9 |
CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+ |
| 10 |
====================================================================================== |
| 11 |
|
| 12 |
On Python 3.7+, :setting:`FILE_UPLOAD_DIRECTORY_PERMISSIONS` mode was not |
| 13 |
applied to intermediate-level directories created in the process of uploading |
| 14 |
files and to intermediate-level collected static directories when using the |
| 15 |
:djadmin:`collectstatic` management command. |
| 16 |
|
| 17 |
You should review and manually fix permissions on existing intermediate-level |
| 18 |
directories. |
| 19 |
|
| 20 |
CVE-2020-24584: Permission escalation in intermediate-level directories of the file system cache on Python 3.7+ |
| 21 |
=============================================================================================================== |
| 22 |
|
| 23 |
On Python 3.7+, the intermediate-level directories of the file system cache had |
| 24 |
the system's standard umask rather than ``0o077`` (no group or others |
| 25 |
permissions). |
| 26 |
|
| 27 |
Bugfixes |
| 28 |
======== |
| 29 |
|
| 30 |
* Fixed a data loss possibility in the |
| 31 |
:meth:`~django.db.models.query.QuerySet.select_for_update()`. When using |
| 32 |
related fields pointing to a proxy model in the ``of`` argument, the |
| 33 |
corresponding model was not locked (:ticket:`31866`). |
| 34 |
|
| 35 |
* Fixed a data loss possibility, following a regression in Django 2.0, when |
| 36 |
copying model instances with a cached fields value (:ticket:`31863`). |