Vulnerabilities · 2018 · Canonical
CVE-2018-7537
Canonical Ubuntu Linux vulnerability
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. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.
Affected products
Ubuntu Linux, Django, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Canonical Ubuntu Linux runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.djangoproject.com/weblog/2018/mar/06/security-releases/ · Vendor Advisory
- www.securityfocus.com/bid/103357 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:2927 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:0265 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2018/03/msg00006.html · Third Party Advisory
- usn.ubuntu.com/3591-1/ · Third Party Advisory
- www.debian.org/security/2018/dsa-4161 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-7537
- nvd.nist.gov/vuln/detail/CVE-2018-7537
- cve.org/CVERecord?id=CVE-2018-7537
More vulnerabilities in Canonical products
CVE-2025-54293CVE-2025-54292CVE-2025-54291CVE-2025-54290CVE-2025-54289CVE-2025-54288CVE-2025-54286CVE-2025-53513All 4,095
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.