Read the docs
TI-2024-30307 Aliases CVE-2024-45230GHSA-5hgc-2vfp-mqvc

An issue was discovered in Django 5.1 before 5.1.1, 5.0 before 5.0.9, and 4.2 before…

Priority MEDIUM 60CWE-120Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.25773 97th percentileScored 2026-11-07
Fix Partial Django (PyPI): 5.1.1, 5.0.9, 4.2.16Red Hat: 1 advisoryRed Hat: 2 fixed, 7 without a fix

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—Django (PyPI)5.1 to before 5.1.15.1.1Patch availableGHSA-5hgc-2vfp-mqvc
—Django (PyPI)5.0 to before 5.0.95.0.9Patch availableGHSA-5hgc-2vfp-mqvc
—Django (PyPI)4.2 to before 4.2.164.2.16Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*4.2.0 to before 4.2.16; 5.0 to before 5.0.9Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:5.1:*:*:*:*:*:*:*5.1Vulnerabledjangoproject
  • 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 Moderate
    Red 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 →

ProductStatusPlan or fix
Red Hat Ansible Automation Platform 1.2AffectedNo fix planned: Will not fix
Red Hat Ansible Automation Platform 2AffectedNo fix yet
Red Hat Certification for Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Discovery 1AffectedNo fix yet
Red Hat OpenStack Platform 16.2AffectedNo fix planned: Will not fix
Red Hat OpenStack Platform 17.1AffectedNo fix yet: Fix deferred
Red Hat Storage 3AffectedNo fix planned: Out of support scope
Red Hat Ansible Automation Platform 2.5 for RHEL 8Fixed RHSA-2024:8534
Red Hat Ansible Automation Platform 2.5 for RHEL 9Fixed 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

  1. 2026-10-02 Threatist record created from CVE-2024-45230
  2. 2026-10-03 Alias added: GHSA-5hgc-2vfp-mqvc

References

  • 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
See all 156 →

Sources