CVE-2018-7537
CVSS V2 Medium 5
CVSS V3 Medium 5.3
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.
Overview
- CVE ID
- CVE-2018-7537
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2018-03-09T20:29:00
- Last Modified Date
- 2019-02-28T22:37:04
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 1 | OR | 1.8 | 1.8.19 |
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 1 | OR | 1.11 | 1.11.11 |
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 1 | OR | 2.0 | 2.0.3 |
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- LOW
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://www.djangoproject.com/weblog/2018/mar/06/security-releases/ | Release Notes Vendor Advisory |
https://lists.debian.org/debian-lts-announce/2018/03/msg00006.html | Mailing List Third Party Advisory |
http://www.securityfocus.com/bid/103357 | Third Party Advisory VDB Entry |
https://usn.ubuntu.com/3591-1/ | Third Party Advisory |
https://www.debian.org/security/2018/dsa-4161 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2018:2927 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2019:0265 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2018-7537 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7537 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:57:22 | Added to TrackCVE | |||
2022-12-03 03:13:59 | 2018-03-09T20:29Z | 2018-03-09T20:29:00 | CVE Published Date | updated |
2022-12-03 03:13:59 | 2019-02-28T22:37:04 | CVE Modified Date | updated | |
2022-12-03 03:13:59 | Analyzed | Vulnerability Status | updated |