Live threats

All CVEs / Djangoproject

CVE-2024-38875Djangoproject Django

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Jul 10, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-130
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 4.2 < 4.2.14 4.2.14 pip install "django>=4.2.14"
PyPI django ≥ 5.0 < 5.0.7 5.0.7 pip install "django>=5.0.7"
PyPI django ≥ 4.2 < 4.2.14 4.2.14 pip install "django>=4.2.14"
PyPI django ≥ 5.0 < 5.0.7 5.0.7 pip install "django>=5.0.7"

Per OSV / GitHub Advisories (GHSA-qg2p-9jwr-mmqf, PYSEC-2024-56). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≥ 4.2 < 4.2.14
djangoprojectdjango≥ 5.0 < 5.0.7

Official advisories

Also: SUSE (+1)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.