An issue was discovered in Django 5.1 before 5.1.1, 5.0 before 5.0.9, and 4.2 before…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 7 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-120 and the CVSS impact.
Summary
An issue was discovered in Django 5.1 before 5.1.1, 5.0 before 5.0.9, and 4.2 before 4.2.16. The urlize() and urlizetrunc() template filters are subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | Django (PyPI) | 5.1 to before 5.1.1 | 5.1.1 | Patch available | GHSA-5hgc-2vfp-mqvc |
| — | Django (PyPI) | 5.0 to before 5.0.9 | 5.0.9 | Patch available | GHSA-5hgc-2vfp-mqvc |
| — | Django (PyPI) | 4.2 to before 4.2.16 | 4.2.16 | Patch available | GHSA-5hgc-2vfp-mqvc |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- Django (PyPI) Vendor— Affected 5.1 to before 5.1.1 Fixed in 5.1.1 Patch available GHSA-5hgc-2vfp-mqvc
- Django (PyPI) Vendor— Affected 5.0 to before 5.0.9 Fixed in 5.0.9 Patch available GHSA-5hgc-2vfp-mqvc
- Django (PyPI) Vendor— Affected 4.2 to before 4.2.16 Fixed in 4.2.16 Patch available GHSA-5hgc-2vfp-mqvc
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 4.2.0 to before 4.2.16; 5.0 to before 5.0.9 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:5.1:*:*:*:*:*:*:* | 5.1 | Vulnerable | djangoproject |
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 4.2.0 to before 4.2.16; 5.0 to before 5.0.9 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:5.1:*:*:*:*:*:*:* Versions 5.1 Vulnerable ·djangoproject
Remediation
- Fix · GHSA-5hgc-2vfp-mqvc Django (PyPI) Fixed in 5.1.1 Advisory →
- Fix · GHSA-5hgc-2vfp-mqvc Django (PyPI) Fixed in 5.0.9 Advisory →
- Fix · GHSA-5hgc-2vfp-mqvc Django (PyPI) Fixed in 4.2.16 Advisory →
Red Hat 1 advisory
- RHSA-2024:8534 Released 2024-10-28 · Red Hat rating ModerateRed Hat Ansible Automation Platform 2.5 Product Release Update
- Red Hat Ansible Automation Platform 2.5 for RHEL 8 automation-controller-venv-tower-4.6.2-1.el8ap, automation-gateway-server-2.5.3-1.el8ap, receptor-1.4.9-2.el8ap +1
- Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-controller-venv-tower-4.6.2-1.el9ap, automation-gateway-server-2.5.3-1.el9ap, receptor-1.4.9-2.el9ap +1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 1.2 | Affected | No fix planned: Will not fix |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet |
| Red Hat Certification for Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Discovery 1 | Affected | No fix yet |
| Red Hat OpenStack Platform 16.2 | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 17.1 | Affected | No fix yet: Fix deferred |
| Red Hat Storage 3 | Affected | No fix planned: Out of support scope |
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | Fixed | RHSA-2024:8534 |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | Fixed | RHSA-2024:8534 |
Not affected: 5 products
- Red Hat Ansible Automation Platform 2
- Red Hat Ansible Automation Platform 2.5 for RHEL 8
- Red Hat Ansible Automation Platform 2.5 for RHEL 9
- Red Hat Satellite 6
- Red Hat Update Infrastructure 4 for Cloud Providers
Timeline
- 2026-10-02 Threatist record created from CVE-2024-45230
- 2026-10-03 Alias added: GHSA-5hgc-2vfp-mqvc
References
Advisory 3
Other 8
- https://groups.google.com/forum/#%21forum/django-announce
- https://github.com/django/django/commit/022ab0a75c76ab2ea31dfcc5f2cf5501e378d397
- https://github.com/django/django/commit/813de2672bd7361e9a453ab62cd6e52f96b6525b
- https://github.com/django/django/commit/d147a8ebbdf28c17cafbbe2884f0bc57e2bf82e2
- 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-102.yaml
- https://www.djangoproject.com/weblog/2024/sep/03/security-releases
More djangoproject Django vulnerabilities
- TI-2022-15177 An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. CVSS 3.1CRITICAL 9.8
- TI-2020-05994 Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection… CVSS 3.1CRITICAL 9.8
- TI-2023-10198 An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0… CVSS 3.1HIGH 7.5
- TI-2019-14306 Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. CVSS 3.1CRITICAL 9.8
- TI-2019-10595 An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x… CVSS 3.0CRITICAL 9.8
- TI-2021-14006 Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-45230 · CVE Program
- CVE-2024-45230 · NVD
- FIRST EPSS
- GHSA-5hgc-2vfp-mqvc · GitHub Advisory Database · CC BY 4.0
- CVE-2024-45230 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences