Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:45968
HistoryMar 22, 2024 - 4:01 a.m.

Regular Expression Denial Of Service (ReDoS)

2024-03-2204:01:57
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
8
django
regular expression denial of service
truncator.words()

6.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.0%

Django is vulnerable to Regular Expression Denial Of Service (ReDoS). The vulnerability is due to a regular expression with inefficient complexity within the django.utils.text.Truncator.words() function. When this function has the html parameter set to true, and is utilizing the truncatewords_html template filter, an attacker can render the application unresponsive by submitting a crafted string with many < characters.

References