pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-django2



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jun  5 07:24:55 UTC 2021

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

Log Message:
py-django2: updated to 2.2.24

Django 2.2.24 fixes two security issues in 2.2.23.

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


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/www/py-django2/Makefile
cvs rdiff -u -r1.33 -r1.34 pkgsrc/www/py-django2/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-django2/Makefile
diff -u pkgsrc/www/py-django2/Makefile:1.35 pkgsrc/www/py-django2/Makefile:1.36
--- pkgsrc/www/py-django2/Makefile:1.35 Fri May 14 18:53:07 2021
+++ pkgsrc/www/py-django2/Makefile      Sat Jun  5 07:24:55 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2021/05/14 18:53:07 adam Exp $
+# $NetBSD: Makefile,v 1.36 2021/06/05 07:24:55 adam Exp $
 
-DISTNAME=      Django-2.2.23
+DISTNAME=      Django-2.2.24
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    www python
 MASTER_SITES=  https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/

Index: pkgsrc/www/py-django2/distinfo
diff -u pkgsrc/www/py-django2/distinfo:1.33 pkgsrc/www/py-django2/distinfo:1.34
--- pkgsrc/www/py-django2/distinfo:1.33 Fri May 14 18:53:07 2021
+++ pkgsrc/www/py-django2/distinfo      Sat Jun  5 07:24:55 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.33 2021/05/14 18:53:07 adam Exp $
+$NetBSD: distinfo,v 1.34 2021/06/05 07:24:55 adam Exp $
 
-SHA1 (Django-2.2.23.tar.gz) = 52e0be0807bdb0d94ec95384242d268b326a87a6
-RMD160 (Django-2.2.23.tar.gz) = c5c83986b04c7f42ac8884364253a900b85af3ed
-SHA512 (Django-2.2.23.tar.gz) = 0f9b8705ce150f7c291452551933135a521b2d22cad00928bddbd6cac8ccb44da2c6c9a4302dc49b6f5188f6d72e148bd3c9806001e50972acefcb6ef853777b
-Size (Django-2.2.23.tar.gz) = 9182567 bytes
+SHA1 (Django-2.2.24.tar.gz) = 5f6dc81c98530d745ffd6ee3712605d0f7312bb4
+RMD160 (Django-2.2.24.tar.gz) = 3ca656167d676b32d6d7d994724c5684dcea4b58
+SHA512 (Django-2.2.24.tar.gz) = 5a3ee79500ad458bfc5220b9b68248bec59bf6d2304d58ca280111854d6a5f7e25784680e949487e8b59c1de0b329a53cf0676d2ee4bb2b88463918c4b0b6085
+Size (Django-2.2.24.tar.gz) = 9211396 bytes



Home | Main Index | Thread Index | Old Index