Allocation of Resources Without Limits or Throttling Affecting django package, versions [,5.0.14)[5.1a1,5.1.8)[5.2a1,5.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJANGO-9634162
  • published3 Apr 2025
  • disclosed2 Apr 2025
  • creditsw0rd1ight

Introduced: 2 Apr 2025

NewCVE-2025-27556  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Django to version 5.0.14, 5.1.8, 5.2 or higher.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in django.contrib.auth.views.LoginView, django.contrib.auth.views.LogoutView, and django.views.i18n.set_language(), whose NFKC operations are inefficient. An attacker can cause degradation of performance by sending requests with a very large number of Unicode characters, which are subject to NFKC normalization.

Note: This is only exploitable on Windows.

CVSS Base Scores

version 4.0
version 3.1