CVE-2024-41991

Aliases:GHSA-r836-hh6v-rg5gBIT-django-2024-41991PYSEC-2024-69
Modified
Published: 07 Aug 2024, 00:00
Last modified:04 Nov 2025, 16:13

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
v3.1 (cve.org)
EPSS Score
0.91% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

07 Aug 2024, 00:00
Published
Vulnerability first disclosed
04 Nov 2025, 16:13
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v4.0MEDIUMScore: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • v3.1MEDIUMScore: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS Trends

Current EPSS score: 0.91% Percentile: 76%

Techniques & Countermeasures

  • CWE-1284Improper Validation of Specified Quantity in Input

    The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.

  • CWE-130Improper Handling of Length Parameter Inconsistency

    The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data.

Affected Systems

  • djangoprojectdjango

    ≥ 4.2, < 4.2.15 | ≥ 5.0, < 5.0.8

  • PyPIdjango

    ≥ 5.0, < 5.0.8 | ≥ 4.2, < 4.2.15

References (12)