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:           Fri May 14 18:54:38 UTC 2021

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

Log Message:
py-django3: updated to 3.2.3

Django 3.2.3 fixes several bugs in 3.2.2.

Bugfixes

Prepared for mysqlclient > 2.0.3 support.
Fixed a regression in Django 3.2 that caused the incorrect filtering of querysets combined with the | operator.
Fixed a regression in Django 3.2.1 where saving FileField would raise a SuspiciousFileOperation even when a custom upload_to returns a valid file path.

Django 3.2.2 fixes a security issue and a bug in 3.2.1.

CVE-2021-32052: Header injection possibility since URLValidator accepted newlines in input on Python 3.9.5+

On Python 3.9.5+, URLValidator didn’t prohibit newlines and tabs. If you used values with newlines in HTTP response, you could suffer from header injection attacks. Django itself wasn’t vulnerable 
because HttpResponse prohibits newlines in HTTP headers.

Moreover, the URLField form field which uses URLValidator silently removes newlines and tabs on Python 3.9.5+, so the possibility of newlines entering your data only existed if you are using this 
validator outside of the form fields.

This issue was introduced by the bpo-43882 fix.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 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.14 pkgsrc/www/py-django3/Makefile:1.15
--- pkgsrc/www/py-django3/Makefile:1.14 Wed May  5 07:06:29 2021
+++ pkgsrc/www/py-django3/Makefile      Fri May 14 18:54:38 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2021/05/05 07:06:29 adam Exp $
+# $NetBSD: Makefile,v 1.15 2021/05/14 18:54:38 adam Exp $
 
-DISTNAME=      Django-3.2.1
+DISTNAME=      Django-3.2.3
 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.14 pkgsrc/www/py-django3/distinfo:1.15
--- pkgsrc/www/py-django3/distinfo:1.14 Wed May  5 07:06:29 2021
+++ pkgsrc/www/py-django3/distinfo      Fri May 14 18:54:38 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2021/05/05 07:06:29 adam Exp $
+$NetBSD: distinfo,v 1.15 2021/05/14 18:54:38 adam Exp $
 
-SHA1 (Django-3.2.1.tar.gz) = cd6f18967e13a6e67dbee4713116aab9cb348865
-RMD160 (Django-3.2.1.tar.gz) = 669c38006c87e1776aa86611b51f0738a0b809b0
-SHA512 (Django-3.2.1.tar.gz) = 5f3f80047cdcb6c9a07ca0dc9d6d83d190c8c0215311f39e6e441384659c92e4fa42bf4677d297a4ba8520a0bfbd78c4b2ca13cf467c1e1220c0c6a3131ba444
-Size (Django-3.2.1.tar.gz) = 9820723 bytes
+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



Home | Main Index | Thread Index | Old Index