Catastrophic backtracking vulnerability in Django
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 4.374%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:djangoproject | django | Affected versions:≥ 1.8, < 1.8.19Show full version range for django≥ 2.0, < 2.0.3≥ 1.11, < 1.11.11
|
| Vendor:Canonical | ubuntu linux | Affected versions:14.04Show full version range for ubuntu linux16.0417.10
|
| Vendor:Debian | debian linux | Affected versions:7.0Show full version range for debian linux8.09.0
|
1–3 of 3 · Page 1 of 1
CVSS scores and metrics3
[email protected] · NVD (Primary)Primary5.3 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LCVE-2018-7537 · OSV (source-vector)5.3 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:N/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences