Live threats

All CVEs / Canonical

CVE-2018-7536Canonical Ubuntu Linux

Medium 5.3 No auth needed

Priority
47
CVSS 3.0
5.3
EPSS
4.6%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Mar 9, 2018
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-185
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ubuntu Linux.
  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 ≥ 2.0a1 < 2.0.3 2.0.3 pip install "django>=2.0.3"
PyPI django ≥ 1.11a1 < 1.11.11 1.11.11 pip install "django>=1.11.11"
PyPI django ≥ 1.8a1 < 1.8.19 1.8.19 pip install "django>=1.8.19"
PyPI django ≥ 1.8 < 1.8.19 1.8.19 pip install "django>=1.8.19"
PyPI django ≥ 1.11 < 1.11.11 1.11.11 pip install "django>=1.11.11"
PyPI django ≥ 2.0 < 2.0.3 2.0.3 pip install "django>=2.0.3"

Per OSV / GitHub Advisories (GHSA-r28v-mw67-m5p9, PYSEC-2018-5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10
djangoprojectdjango≥ 1.8 < 1.8.19
djangoprojectdjango≥ 1.11 < 1.11.11
djangoprojectdjango≥ 2.0 < 2.0.3
debiandebian_linux7.0
debiandebian_linux8.0
debiandebian_linux9.0
redhatopenstack10
redhatopenstack13

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.