CVE-2024-38875
HIGH 7.5CVSS 3.1Django vulnerable to Denial of Service
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.
- Published
- 10 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-130CWE-770
- Also known as
- BIT-django-2024-38875GHSA-qg2p-9jwr-mmqfPYSEC-2024-56
- Sources
- NVDJSONOSV GHSA-qg2p-9jwr-mmqfJSONOSV PYSEC-2024-56JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 4.2, < 4.2.14 | 4.2.14 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 5.0, < 5.0.7 | 5.0.7 |
| OSV | PyPI | django | >= 4.2, < 4.2.14 | 4.2.14 |
| OSV | PyPI | django | >= 5.0, < 5.0.7 | 5.0.7 |
| OSV | PyPI | django | >= 4.2, < 4.2.14; >= 5.0, < 5.0.7 | 4.2.14, 5.0.7 |
References
- https://docs.djangoproject.com/en/dev/releases/security/ · Vendor Advisory, WEB
- https://groups.google.com/forum/#%21forum/django-announce · Permissions Required, WEB
- https://www.djangoproject.com/weblog/2024/jul/09/security-releases/ · Vendor Advisory, WEB, ARTICLE
- https://security.netapp.com/advisory/ntap-20240808-0005/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-38875 · ADVISORY
- https://github.com/django/django/commit/7285644640f085f41d60ab0c8ae4e9153f0485db · WEB
- https://github.com/django/django/commit/79f368764295df109a37192f6182fb6f361d85b5 · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-56.yaml · WEB
- https://github.com/advisories/GHSA-qg2p-9jwr-mmqf · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 10 Jul 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Jul 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Jul 2024)