GitHub Advisoryadvisory · PyPI

GHSA-qmf9-6jqf-j8fq Django potential denial of service vulnerability in UsernameField on Windows

HIGH Published 2023-11-02 Modified 2024-09-20 Official page ↗
Aliases
CVE-2023-46695
Ecosystem
PyPI
Packages
Django
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400, CWE-770
Reviewed
2023-11-02

Affected packages

• PyPI Django: >= 3.2a1, < 3.2.23 → fixed in 3.2.23 • PyPI Django: >= 4.1a1, < 4.1.13 → fixed in 4.1.13 • PyPI Django: >= 4.2a1, < 4.2.7 → fixed in 4.2.7

Description

An issue was discovered in Django 3.2 before 3.2.23, 4.1 before 4.1.13, and 4.2 before 4.2.7. The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.forms.UsernameField is subject to a potential DoS (denial of service) attack via certain inputs with a very large number of Unicode characters.

Related

Alias · CVE (1)

  • CVE-2023-46695 An issue was discovered in Django 3.2 before 3.2.23, 4.1 before 4.1.13, and 4.2 before 4.2.7. vulnerability

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References