Python Library Django 5.0.x < 5.0.14 / 5.1.x < 5.1.8 DoS

medium Nessus Plugin ID 233870

Synopsis

A Python library installed on the remote Windows host is affected by a denial of service vulnerability.

Description

The detected version of the Django Python package, Django, is 5.0.x prior to 5.0.14 or 5.1.x prior to 5.1.8. It is, therefore, affected by a denial of service vulnerability as disclosed in Django's April 2nd 2025 security advisory. The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.views.LoginView, django.contrib.auth.views.LogoutView, and django.views.i18n.set_language are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Django version 5.0.14, 5.1.8 or later.

See Also

https://www.djangoproject.com/weblog/2025/apr/02/security-releases/

Plugin Details

Severity: Medium

ID: 233870

File Name: python_django_5_1_8.nasl

Version: 1.1

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 4/4/2025

Updated: 4/4/2025

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2025-27556

CVSS v3

Risk Factor: Medium

Base Score: 5.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L

Vulnerability Information

CPE: cpe:/a:djangoproject:django

Required KB Items: SMB/Registry/Enumerated, Host/win/Python/Packages/Enumerated

Patch Publication Date: 4/2/2025

Vulnerability Publication Date: 4/2/2025

Reference Information

CVE: CVE-2025-27556

IAVA: 2025-A-0218