2020-08-11 15:44:31 +08:00
|
|
|
===========================
|
|
|
|
Django 3.0.10 release notes
|
|
|
|
===========================
|
|
|
|
|
|
|
|
*Expected September 1, 2020*
|
|
|
|
|
2020-08-21 18:43:45 +08:00
|
|
|
Django 3.0.10 fixes two security issues and two data loss bugs in 3.0.9.
|
2020-08-21 17:44:46 +08:00
|
|
|
|
|
|
|
CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+
|
|
|
|
======================================================================================
|
|
|
|
|
|
|
|
On Python 3.7+, :setting:`FILE_UPLOAD_DIRECTORY_PERMISSIONS` mode was not
|
|
|
|
applied to intermediate-level directories created in the process of uploading
|
|
|
|
files and to intermediate-level collected static directories when using the
|
|
|
|
:djadmin:`collectstatic` management command.
|
|
|
|
|
|
|
|
You should review and manually fix permissions on existing intermediate-level
|
|
|
|
directories.
|
2020-08-11 15:44:31 +08:00
|
|
|
|
2020-08-21 18:43:45 +08:00
|
|
|
CVE-2020-24584: Permission escalation in intermediate-level directories of the file system cache on Python 3.7+
|
|
|
|
===============================================================================================================
|
|
|
|
|
|
|
|
On Python 3.7+, the intermediate-level directories of the file system cache had
|
|
|
|
the system's standard umask rather than ``0o077`` (no group or others
|
|
|
|
permissions).
|
|
|
|
|
2020-08-11 15:44:31 +08:00
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2020-08-08 13:17:36 +08:00
|
|
|
* Fixed a data loss possibility in the
|
|
|
|
:meth:`~django.db.models.query.QuerySet.select_for_update()`. When using
|
|
|
|
related fields pointing to a proxy model in the ``of`` argument, the
|
|
|
|
corresponding model was not locked (:ticket:`31866`).
|
2020-08-13 22:29:55 +08:00
|
|
|
|
|
|
|
* Fixed a data loss possibility, following a regression in Django 2.0, when
|
|
|
|
copying model instances with a cached fields value (:ticket:`31863`).
|