Vulnerability in Djangoproject Django
CVE-2018-7537
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.044 (91.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.044 · newest: 0.044 · change: 0.000
Affected products
- Djangoproject Django
- Canonical Ubuntu Linux — versions 14.04, 16.04, 17.10
- Debian Linux — versions 7.0, 8.0, 9.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- usn.ubuntu.com/3591-1/ (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2018/03/msg00006.html (mailing-list, Mailing List, Third Party Advisory)
- www.djangoproject.com/weblog/2018/mar/06/security-releases/ (Release Notes, Vendor Advisory)
- access.redhat.com/errata/RHSA-2018:2927 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/103357 (VDB Entry, Third Party Advisory, vdb-entry)
- access.redhat.com/errata/RHSA-2019:0265 (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2018/dsa-4161 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-7537?
- CVE-2018-7537 is a medium-severity vulnerability in Djangoproject Django, classified under Incorrect Regular Expression. CVSS score: 5.3/10. Published 2018-03-09.
- How severe is CVE-2018-7537?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2018-7537 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.