FreeBSD : py-django -- denial of service vulnerability (d2c2952d-85a1-11dc-bfff-003048705d5a)

high Nessus Plugin ID 27588

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Django project reports :

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.

Solution

Update the affected packages.

See Also

https://www.djangoproject.com/weblog/2007/oct/26/security-fix/

http://www.nessus.org/u?69fd58d0

Plugin Details

Severity: High

ID: 27588

File Name: freebsd_pkg_d2c2952d85a111dcbfff003048705d5a.nasl

Version: 1.13

Type: local

Published: 10/30/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py23-django, p-cpe:/a:freebsd:freebsd:py23-django-devel, p-cpe:/a:freebsd:freebsd:py24-django, p-cpe:/a:freebsd:freebsd:py24-django-devel, p-cpe:/a:freebsd:freebsd:py25-django, p-cpe:/a:freebsd:freebsd:py25-django-devel, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 10/27/2007

Vulnerability Publication Date: 10/26/2007