CVE-2024-41991
Aliases:GHSA-r836-hh6v-rg5gBIT-django-2024-41991PYSEC-2024-69
Advisory lineage Upstream: 0 Downstream: 15
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.0•MEDIUM•Score: 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.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- v3.1•MEDIUM•Score: 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-1284•Improper 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-130•Improper 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
- djangoproject•django
≥ 4.2, < 4.2.15 | ≥ 5.0, < 5.0.8
- PyPI•django
≥ 5.0, < 5.0.8 | ≥ 4.2, < 4.2.15
References (12)
- https://docs.djangoproject.com/en/dev/releases/security/
- https://groups.google.com/forum/#%21forum/django-announce
- https://www.djangoproject.com/weblog/2024/aug/06/security-releases/
- https://security.netapp.com/advisory/ntap-20240905-0007/
- https://nvd.nist.gov/vuln/detail/CVE-2024-41991
- https://github.com/django/django/commit/523da8771bce321023f490f70d71a9e973ddc927
- https://github.com/django/django/commit/efea1ef7e2190e3f77ca0651b5458297bc0f6a9f
- https://docs.djangoproject.com/en/dev/releases/security
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-69.yaml
- https://security.netapp.com/advisory/ntap-20240905-0007
- https://www.djangoproject.com/weblog/2024/aug/06/security-releases