pkgsrc-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.24



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db07487d564a
branches:  trunk
changeset: 454004:db07487d564a
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Jun 05 07:24:55 2021 +0000

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

diffstat:

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

diffs (27 lines):

diff -r c1af6bc8657a -r db07487d564a www/py-django2/Makefile
--- a/www/py-django2/Makefile   Sat Jun 05 07:24:24 2021 +0000
+++ b/www/py-django2/Makefile   Sat Jun 05 07:24:55 2021 +0000
@@ -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}/
diff -r c1af6bc8657a -r db07487d564a www/py-django2/distinfo
--- a/www/py-django2/distinfo   Sat Jun 05 07:24:24 2021 +0000
+++ b/www/py-django2/distinfo   Sat Jun 05 07:24:55 2021 +0000
@@ -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