Red Hat Bugzilla – Bug 357051
CVE-2007-5712 Django 0.96 i18n DoS
Last modified: 2007-11-09 18:58:31 EST
"A per-process cache used by Django's internationalization ("i18n") system to
store the results of translation lookups for particular values of the HTTP
Accept-Language header used the full value of that header as a key. An attacker
could take advantage of this by sending repeated requests with extremely large
strings in the Accept-Language header, potentially causing a denial of service
by filling available memory.
Due to limitations imposed by Web server software on the size of HTTP header
fields, combined with reasonable limits on the number of requests which may be
handled by a single server process over its lifetime, this vulnerability may be
difficult to exploit. Additionally, it is only present when the "USE_I18N"
setting in Django is "True" and the i18n middleware component is enabled*.
Nonetheless, all users of affected versions of Django are encouraged to update."
All Fedora and EPEL branches are at 0.96 (which is vulnerable) at the moment.
Credit where it's due: found at
CVE id CVE-2007-5712 was assigned to this issue.
Django-0.96.1-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update Django'
Django-0.96.1-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
Django-0.96.1-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.