Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-django2 py-django2: updated to 2.2.16



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac60d4565eab
branches:  trunk
changeset: 438774:ac60d4565eab
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Sep 10 09:32:28 2020 +0000

description:
py-django2: updated to 2.2.16

Django 2.2.16 fixes two security issues and two data loss bugs in 2.2.15.

CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+

On Python 3.7+, 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 collectstatic management command.

You should review and manually fix permissions on existing intermediate-level directories.

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).

Bugfixes

Fixed a data loss possibility in the select_for_update(). When using related fields pointing to a proxy model in the of argument, the corresponding model was not locked.
Fixed a data loss possibility, following a regression in Django 2.0, when copying model instances with a cached fields value.


Django 2.2.15 fixes two bugs in 2.2.14.

Bugfixes

Allowed setting the SameSite cookie flag in HttpResponse.delete_cookie().
Fixed crash when sending emails to addresses with display names longer than 75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+.

diffstat:

 www/py-django2/Makefile |   4 ++--
 www/py-django2/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 4a6ed9c3218c -r ac60d4565eab www/py-django2/Makefile
--- a/www/py-django2/Makefile   Thu Sep 10 09:27:50 2020 +0000
+++ b/www/py-django2/Makefile   Thu Sep 10 09:32:28 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2020/07/08 15:11:23 adam Exp $
+# $NetBSD: Makefile,v 1.30 2020/09/10 09:32:28 adam Exp $
 
-DISTNAME=      Django-2.2.14
+DISTNAME=      Django-2.2.16
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    www python
 MASTER_SITES=  https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
diff -r 4a6ed9c3218c -r ac60d4565eab www/py-django2/distinfo
--- a/www/py-django2/distinfo   Thu Sep 10 09:27:50 2020 +0000
+++ b/www/py-django2/distinfo   Thu Sep 10 09:32:28 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.27 2020/07/08 15:11:23 adam Exp $
+$NetBSD: distinfo,v 1.28 2020/09/10 09:32:28 adam Exp $
 
-SHA1 (Django-2.2.14.tar.gz) = c8205f8572c0ef9f16aa3e0594e637b3b7954818
-RMD160 (Django-2.2.14.tar.gz) = 71fd94d0db03a21b09d8f23d057adaab06780e33
-SHA512 (Django-2.2.14.tar.gz) = 48ad065df161300920abe0c28c3f79cebe536de00fe60c8a7633caee149e0632aa564a848172bad0f254f2a98194cb625a5c169e51a89f3cab95c1213cfe485d
-Size (Django-2.2.14.tar.gz) = 9022051 bytes
+SHA1 (Django-2.2.16.tar.gz) = db3c05849bd966b427c8af05aff2035811bf383f
+RMD160 (Django-2.2.16.tar.gz) = 5493e53569d93175a69d50a4c9386db664040827
+SHA512 (Django-2.2.16.tar.gz) = eabcdfc17e27c579001e4739268abd13bebbb018db1a7dbe4fb8482d32320b85bd16b3b18428084c0df947094f23f7cb4b12a3a55bc370748d7d8746af22bc3b
+Size (Django-2.2.16.tar.gz) = 8884774 bytes


Home | Main Index | Thread Index | Old Index