summaryrefslogtreecommitdiff
path: root/www/py-django
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2013-02-23 17:00:19 +0000
committeradam <adam@pkgsrc.org>2013-02-23 17:00:19 +0000
commit0fc93037174e22470b61672d4f67d99db7e3013d (patch)
tree484f105dedd0319316c386d3572e5966427144f7 /www/py-django
parent44e52baa055ffa280ad43c9a5631f8bd614917a5 (diff)
downloadpkgsrc-0fc93037174e22470b61672d4f67d99db7e3013d.tar.gz
Changes 1.4.5:
Security-fix release. Here's a brief summary of each issue and its resolution: Issue: Host header poisoning: an attacker could cause Django to generate and display URLs that link to arbitrary domains. This could be used as part of a phishing attack. These releases fix this problem by introducing a new setting, ALLOWED_HOSTS, which specifies a whitelist of domains your site is known to respond to. Important: by default Django 1.3.6 and 1.4.4 set ALLOWED_HOSTS to allow all hosts. This means that to actually fix the security vulnerability you should define this setting yourself immediately after upgrading. Issue: Formset denial-of-service: an attacker can abuse Django's tracking of the number of forms in a formset to cause a denial-of-service attack. This has been fixed by adding a default maximum number of forms of 1,000. You can still manually specify a bigger max_num, if you wish, but 1,000 should be enough for anyone. Issue: XML attacks: Django's serialization framework was vulnerable to attacks via XML entity expansion and external references; this is now fixed. However, if you're parsing arbitrary XML in other parts of your application, we recommend you look into the defusedxml Python packages which remedy this anywhere you parse XML, not just via Django's serialization framework. Issue: Data leakage via admin history log: Django's admin interface could expose supposedly-hidden information via its history log. This has been fixed.
Diffstat (limited to 'www/py-django')
-rw-r--r--www/py-django/Makefile4
-rw-r--r--www/py-django/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/www/py-django/Makefile b/www/py-django/Makefile
index 72a2b9560ea..2b2bc0092dd 100644
--- a/www/py-django/Makefile
+++ b/www/py-django/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2012/12/13 08:03:20 adam Exp $
+# $NetBSD: Makefile,v 1.39 2013/02/23 17:00:19 adam Exp $
-DJANGOVERS= 1.4.3
+DJANGOVERS= 1.4.5
DISTNAME= Django-${DJANGOVERS}
PKGNAME= ${PYPKGPREFIX}-django-${DJANGOVERS}
CATEGORIES= www python
diff --git a/www/py-django/distinfo b/www/py-django/distinfo
index d006f5be0cf..3c2a16e573c 100644
--- a/www/py-django/distinfo
+++ b/www/py-django/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2012/12/13 08:03:21 adam Exp $
+$NetBSD: distinfo,v 1.24 2013/02/23 17:00:19 adam Exp $
-SHA1 (Django-1.4.3.tar.gz) = 96b1a44afef3b765b55ba10ad81ca8fc29eca5a2
-RMD160 (Django-1.4.3.tar.gz) = d14877b9e603fff9db2f5b04cd9337415335b42f
-Size (Django-1.4.3.tar.gz) = 7729808 bytes
+SHA1 (Django-1.4.5.tar.gz) = 1bfaa4643c6775fbf394137f1533659be45441e7
+RMD160 (Django-1.4.5.tar.gz) = 62f7e083937fa3b6d4cad591ce42e8f342fdc6e6
+Size (Django-1.4.5.tar.gz) = 7735582 bytes