CVE-2018-7536

Medium

Description

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductDjango
PublishedMar 9, 2018
First seenMar 9, 2018

How to fix

Affected products

ProductAffected versionsFixed in
djangoproject django1.8 ≤ v < 1.8.19, 1.11 ≤ v < 1.11.11, 2.0 ≤ v < 2.0.31.8.19, 1.11.11, 2.0.3
canonical ubuntu_linux14.04, 16.04, 17.10—
debian debian_linux7.0, 8.0, 9.0—
redhat openstack10, 13—
djangoPyPI2.0a1 ≤ v < 2.0.3, 1.11a1 ≤ v < 1.11.11, 1.8a1 ≤ v < 1.8.19, 1.8 ≤ v < 1.8.19, 1.11 ≤ v < 1.11.11, 2.0 ≤ v < 2.0.32.0.3, 1.11.11, 1.8.19

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.