CVE-2024-41991
Vulnerability Summary
Timeline
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.95%• Percentile: 60%
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
- debian•python-django
< 2:2.2.28-1~deb11u11 | < 3:3.2.25-0+deb12u1 | < 3:4.2.15-1 | < 3:4.2.15-1
- 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 (14)
- 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
- https://github.com/advisories/GHSA-r836-hh6v-rg5g
- https://security-tracker.debian.org/tracker/CVE-2024-41991