CVE-2024-45230

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductDjango
PublishedOct 8, 2024
First seenOct 8, 2024
Weakness typeCWE-120CWE-120

How to fix

Update
  • djangoproject django4.2.16, 5.0.9 or later
  • django5.1.1, 5.0.9, 4.2.16 or later

Affected products

ProductAffected versionsFixed in
djangoproject django4.2.0 ≤ v < 4.2.16, 5.0 ≤ v < 5.0.9, 5.14.2.16, 5.0.9
djangoPyPI5.1 ≤ v < 5.1.1, 5.0 ≤ v < 5.0.9, 4.2 ≤ v < 4.2.165.1.1, 5.0.9, 4.2.16

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.