GitHub Advisoryadvisory · PyPI

GHSA-r836-hh6v-rg5g Django vulnerable to denial-of-service attack

MEDIUM Published 2024-08-07 Modified 2025-11-04 Official page ↗
Aliases
CVE-2024-41991
Ecosystem
PyPI
Packages
Django
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-1284, CWE-130, CWE-1333
Reviewed
2024-08-07

Affected packages

• PyPI Django: >= 5.0, < 5.0.8 → fixed in 5.0.8 • PyPI Django: >= 4.2, < 4.2.15 → fixed in 4.2.15

Description

An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget, are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters.

Related

Alias · CVE (1)

  • CVE-2024-41991 An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. vulnerability

Weakness · CWE (3)

  • CWE-1284 Improper Validation of Specified Quantity in Input weakness
  • CWE-130 Improper Handling of Length Parameter Inconsistency weakness
  • CWE-1333 Inefficient Regular Expression Complexity weakness

References