CVE-2018-7537

Summary

CVECVE-2018-7537
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-03-09 20:29:00 UTC
Updated2019-02-28 22:37:00 UTC
DescriptionAn 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.

Risk And Classification

Problem Types: CWE-185

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 17.10 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 17.10 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Djangoproject Django All All All All
Application Djangoproject Django All All All All

References

ReferenceSourceLinkTags
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Debian -- Security Information -- DSA-4161-1 python-django DEBIAN www.debian.org Third Party Advisory
Django security releases issued: 2.0.3, 1.11.11, and 1.8.19 | Weblog | Django CONFIRM www.djangoproject.com Release Notes, Vendor Advisory
USN-3591-1: Django vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
Django CVE-2018-7537 Multiple Denial of Service Vulnerabilities BID www.securityfocus.com Third Party Advisory, VDB Entry
[SECURITY] [DLA 1303-1] python-django security update MLIST lists.debian.org Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 500774 Alpine Linux Security Update for py3-django
  • 981426 Python (pip) Security Update for django (GHSA-2f9x-5v75-3qv4)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report