GHSA-5hgc-2vfp-mqvc

Django vulnerable to denial-of-service attack via the urlize() and urlizetrunc() template filters

At a glance

Published
Updated
CVE
CVE-2024-45230
Aliases
BIT-django-2024-45230, PYSEC-2024-102
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

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.

Affected packages

PackageVersions
PyPI · djangointroduced 5.1, fixed 5.1.1
PyPI · djangointroduced 5.0, fixed 5.0.9
PyPI · djangointroduced 4.2, fixed 4.2.16

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database