Lucene search

K
osvGoogleOSV:GHSA-R28V-MW67-M5P9
HistoryJan 04, 2019 - 5:50 p.m.

Django Denial-of-service possibility in urlize and urlizetrunc template filters

2019-01-0417:50:07
Google
osv.dev
11

0.008 Low

EPSS

Percentile

82.1%

An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. The django.utils.html.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions (only one regular expression for Django 1.8.x). The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulnerable.