CVE-2024-38875
Aliases:GHSA-qg2p-9jwr-mmqfBIT-django-2024-38875PYSEC-2024-56
Advisory lineage Upstream: 0 Downstream: 14
Modified
Published: 10 Jul 2024, 00:00
Last modified:04 Nov 2025, 16:12
Vulnerability Summary
Overall Risk (default)
medium
30/100 CVSS Score
7.5 HIGH
v3.1 (cve.org)
EPSS Score
0.3% LOW
0% probability -0.03%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
10 Jul 2024, 00:00
Published
Vulnerability first disclosed
04 Nov 2025, 16:12
Last Modified
Vulnerability information updated
Description
An issue was discovered in Django 4.2 before 4.2.14 and 5.0 before 5.0.7. urlize and urlizetrunc were subject to a potential denial of service attack via certain inputs with a very large number of brackets.
CVSS Metrics
- v4.0•HIGH•Score: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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
EPSS Trends
Current EPSS score: 0.30%• Percentile: 54%
Techniques & Countermeasures
- 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.14 | ≥ 5.0, < 5.0.7
- PyPI•django
≥ 4.2, < 4.2.14 | ≥ 5.0, < 5.0.7
References (12)
- https://docs.djangoproject.com/en/dev/releases/security/
- https://groups.google.com/forum/#%21forum/django-announce
- https://www.djangoproject.com/weblog/2024/jul/09/security-releases/
- https://security.netapp.com/advisory/ntap-20240808-0005/
- https://nvd.nist.gov/vuln/detail/CVE-2024-38875
- https://github.com/django/django/commit/7285644640f085f41d60ab0c8ae4e9153f0485db
- https://github.com/django/django/commit/79f368764295df109a37192f6182fb6f361d85b5
- 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-56.yaml
- https://security.netapp.com/advisory/ntap-20240808-0005
- https://www.djangoproject.com/weblog/2024/jul/09/security-releases