CVE-2018-7537 Details
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. 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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-185 | Incorrect Regular Expression | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| canonical ubuntu linux | 14.04 16.04 17.10 |
CPE
Remediation
| |
| djangoproject django | >= 1.8, < 1.8.19 >= 1.11, < 1.11.11 >= 2.0, < 2.0.3 |
CPE
Remediation
| |
| debian debian linux | 7.0 8.0 9.0 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 28, 2019 | Modified Analysis | [email protected] |
| Feb 4, 2019 | CVE Modified | [email protected] |
| Oct 17, 2018 | CVE Modified | [email protected] |
| Apr 3, 2018 | CVE Modified | [email protected] |
| Mar 26, 2018 | Initial Analysis | [email protected] |
| Mar 16, 2018 | CVE Modified | [email protected] |
| Mar 14, 2018 | CVE Modified | [email protected] |