pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-django3



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jun  5 07:22:03 UTC 2021

Modified Files:
        pkgsrc/www/py-django3: Makefile distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/py-django3/Makefile \
    pkgsrc/www/py-django3/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-django3/Makefile
diff -u pkgsrc/www/py-django3/Makefile:1.15 pkgsrc/www/py-django3/Makefile:1.16
--- pkgsrc/www/py-django3/Makefile:1.15 Fri May 14 18:54:38 2021
+++ pkgsrc/www/py-django3/Makefile      Sat Jun  5 07:22:03 2021
@@ -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}/
Index: pkgsrc/www/py-django3/distinfo
diff -u pkgsrc/www/py-django3/distinfo:1.15 pkgsrc/www/py-django3/distinfo:1.16
--- pkgsrc/www/py-django3/distinfo:1.15 Fri May 14 18:54:38 2021
+++ pkgsrc/www/py-django3/distinfo      Sat Jun  5 07:22:03 2021
@@ -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