pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-django py-django: updated to 1.11.10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ccae5bf111e5
branches:  trunk
changeset: 375006:ccae5bf111e5
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Feb 02 07:55:34 2018 +0000

description:
py-django: updated to 1.11.10

1.11.10:

CVE-2018-6188: Information leakage in AuthenticationForm

A regression in Django 1.11.8 made AuthenticationForm run its confirm_login_allowed() method even if an incorrect password is entered. This can leak information about a user, depending on what 
messages confirm_login_allowed() raises. If confirm_login_allowed() isn?t overridden, an attacker enter an arbitrary username and see if that user has been set to is_active=False. If 
confirm_login_allowed() is overridden, more sensitive details could be leaked.

This issue is fixed with the caveat that AuthenticationForm can no longer raise the ?This account is inactive.? error if the authentication backend rejects inactive users (the default authentication 
backend, ModelBackend, has done that since Django 1.10). This issue will be revisited for Django 2.1 as a fix to address the caveat will likely be too invasive for inclusion in older versions.

Bugfixes:
Fixed incorrect foreign key nullification if a model has two foreign keys to the same model and a target model is deleted.
Fixed a regression where contrib.auth.authenticate() crashes if an authentication backend doesn?t accept request and a later one does.
Fixed crash when entering an invalid uuid in ModelAdmin.raw_id_fields

diffstat:

 www/py-django/Makefile |   8 ++++----
 www/py-django/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (38 lines):

diff -r 95599e9375ee -r ccae5bf111e5 www/py-django/Makefile
--- a/www/py-django/Makefile    Fri Feb 02 07:00:38 2018 +0000
+++ b/www/py-django/Makefile    Fri Feb 02 07:55:34 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.95 2018/01/03 07:23:45 adam Exp $
+# $NetBSD: Makefile,v 1.96 2018/02/02 07:55:34 adam Exp $
 
-DISTNAME=      Django-1.11.9
+DISTNAME=      Django-1.11.10
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    www python
 MASTER_SITES=  https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
@@ -14,8 +14,8 @@
 
 USE_LANGUAGES= # none
 
-REPLACE_PYTHON=        django/bin/django-admin.py
-REPLACE_PYTHON+=django/conf/project_template/manage.py-tpl
+REPLACE_PYTHON+=       django/bin/django-admin.py
+REPLACE_PYTHON+=       django/conf/project_template/manage.py-tpl
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
diff -r 95599e9375ee -r ccae5bf111e5 www/py-django/distinfo
--- a/www/py-django/distinfo    Fri Feb 02 07:00:38 2018 +0000
+++ b/www/py-django/distinfo    Fri Feb 02 07:55:34 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.74 2018/01/03 07:23:45 adam Exp $
+$NetBSD: distinfo,v 1.75 2018/02/02 07:55:34 adam Exp $
 
-SHA1 (Django-1.11.9.tar.gz) = 8c3f72bcfebd84749523c137a5f3e4cfa1740a48
-RMD160 (Django-1.11.9.tar.gz) = d228b413a8da82bb8aaca1028bd9c7deac782dc2
-SHA512 (Django-1.11.9.tar.gz) = 140e59126bb278777adb9a89e00e3d2458c50175f48fd48b92574cdf05ea9378ea06f2e9488890d75622931e35c5dc1b0a0206b311e0a2e7738e409feef14152
-Size (Django-1.11.9.tar.gz) = 7879870 bytes
+SHA1 (Django-1.11.10.tar.gz) = 69485a3f6f9d0fcc15e5d50788bcae1f82216028
+RMD160 (Django-1.11.10.tar.gz) = 2201510ee9549ce695568605850fb96bded9cae4
+SHA512 (Django-1.11.10.tar.gz) = fb0b5ed29590dba87ab3776987cfd3df5d87dc827d8cb0efb0cf65a32c3a40abb4dde74f3d6b9c9366b675f8d3e175f7e647edda64811b1be74210195f29779b
+Size (Django-1.11.10.tar.gz) = 7881348 bytes



Home | Main Index | Thread Index | Old Index