pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-django3 py-django3: updated to 3.2.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/914df7c48bf1
branches:  trunk
changeset: 454001:914df7c48bf1
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Jun 05 07:22:03 2021 +0000

description:
py-django3: updated to 3.2.4

Django 3.2.4 fixes two security issues and several bugs in 3.2.3.

CVE-2021-33203: Potential directory traversal via admindocs

Staff members could use the admindocs TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by the 
developers to also expose the file contents, then not only the existence but also the file contents would have been exposed.

As a mitigation, path sanitation is now applied and only files within the template root directories can be loaded.

CVE-2021-33571: Possible indeterminate SSRF, RFI, and LFI attacks since validators accepted leading zeros in IPv4 addresses¶

URLValidator, validate_ipv4_address(), and validate_ipv46_address() didn’t prohibit leading zeros in octal literals. If you used such values you could suffer from indeterminate SSRF, RFI, and LFI 
attacks.

validate_ipv4_address() and validate_ipv46_address() validators were not affected on Python 3.9.5+.

Bugfixes

Fixed a bug in Django 3.2 where a final catch-all view in the admin didn’t respect the server-provided value of SCRIPT_NAME when redirecting unauthenticated users to the login page
Fixed a bug in Django 3.2 where a system check would crash on an abstract model
Prevented unnecessary initialization of unused caches following a regression in Django 3.2
Fixed a crash in Django 3.2 that could occur when running mod_wsgi with the recommended settings while the Windows colorama library was installed
Fixed a bug in Django 3.2 that would trigger the auto-reloader for template changes when directory paths were specified with strings
Fixed a regression in Django 3.2 that caused a crash of auto-reloader with AttributeError, e.g. inside a Conda environment
Fixed a regression in Django 3.2 that caused a loss of precision for operations with DecimalField on MySQL

diffstat:

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

diffs (27 lines):

diff -r 37dda07c09f5 -r 914df7c48bf1 www/py-django3/Makefile
--- a/www/py-django3/Makefile   Sat Jun 05 07:17:56 2021 +0000
+++ b/www/py-django3/Makefile   Sat Jun 05 07:22:03 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2021/05/14 18:54:38 adam Exp $
+# $NetBSD: Makefile,v 1.16 2021/06/05 07:22:03 adam Exp $
 
-DISTNAME=      Django-3.2.3
+DISTNAME=      Django-3.2.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    www python
 MASTER_SITES=  https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
diff -r 37dda07c09f5 -r 914df7c48bf1 www/py-django3/distinfo
--- a/www/py-django3/distinfo   Sat Jun 05 07:17:56 2021 +0000
+++ b/www/py-django3/distinfo   Sat Jun 05 07:22:03 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2021/05/14 18:54:38 adam Exp $
+$NetBSD: distinfo,v 1.16 2021/06/05 07:22:03 adam Exp $
 
-SHA1 (Django-3.2.3.tar.gz) = 577af5cf8f756e2693ea0e7f7bb94e835e2ba7e3
-RMD160 (Django-3.2.3.tar.gz) = 89b380998123bc3a6cb623419f99b490fb4e6601
-SHA512 (Django-3.2.3.tar.gz) = a1f9f9661f1a851a00387007f5079615e70ad2357a3a99a1b4a77da6a31419b22fd9d321b8d9737092a02a3055df76cee2aa69404b804b392d94d3423d54b0f8
-Size (Django-3.2.3.tar.gz) = 9798957 bytes
+SHA1 (Django-3.2.4.tar.gz) = 7b0875627bfd044cbfd3c9dc4b87c653a3cbe2dc
+RMD160 (Django-3.2.4.tar.gz) = 25ea2c1689022568ac9fc153ebcb465639443065
+SHA512 (Django-3.2.4.tar.gz) = 5891f77c884cb4bc74f4c9759e2e7be463fc0c661b8dd4d889be0ec46919e59b81f5ce1585c28075b15f03355e66d4b8e7b09001f0c2bea15f8c8aac77d1ea16
+Size (Django-3.2.4.tar.gz) = 9824343 bytes


Home | Main Index | Thread Index | Old Index