Debian Codegraph @

docs/releases/1.4.8.txt

raw
1 ==========================
2 Django 1.4.8 release notes
3 ==========================
4
5 *September 14, 2013*
6
7 Django 1.4.8 fixes two security issues present in previous Django releases in
8 the 1.4 series.
9
10 Denial-of-service via password hashers
11 ======================================
12
13 In previous versions of Django, no limit was imposed on the plaintext
14 length of a password. This allowed a denial-of-service attack through
15 submission of bogus but extremely large passwords, tying up server
16 resources performing the (expensive, and increasingly expensive with
17 the length of the password) calculation of the corresponding hash.
18
19 As of 1.4.8, Django's authentication framework imposes a 4096-byte
20 limit on passwords and will fail authentication with any submitted
21 password of greater length.
22
23 Corrected usage of :func:`~django.views.decorators.debug.sensitive_post_parameters` in :mod:`django.contrib.auth`’s admin
24 =========================================================================================================================
25
26 The decoration of the ``add_view`` and ``user_change_password`` user admin
27 views with :func:`~django.views.decorators.debug.sensitive_post_parameters`
28 did not include :func:`~django.utils.decorators.method_decorator` (required
29 since the views are methods) resulting in the decorator not being properly
30 applied. This usage has been fixed and
31 :func:`~django.views.decorators.debug.sensitive_post_parameters` will now
32 throw an exception if it's improperly used.