Vulnerability in Djangoproject Django
CVE-2018-7536
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. The django.utils.html.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions (only one regular expression for Django 1.8.x). The urlize() function is used to implement the urlize and urlizetrunc 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.046, 91.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Djangoproject Django
- Canonical Ubuntu Linux — versions 14.04, 16.04, 17.10
- Debian Linux — versions 7.0, 8.0, 9.0
- Red Hat OpenStack — versions 10, 13
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (garethr/snyksh, OpenLabSE/VulFinder, VulFinder/VulFinder). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- USN-3591-1 (vendor-advisory, Third Party Advisory)
- RHSA-2019:0051 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20180308 [SECURITY] [DLA 1303-1] python-django security update (mailing-list, Mailing List, Third Party Advisory)
- www.securityfocus.com/bid/103361 (Third Party Advisory, VDB Entry, vdb-entry)
- www.djangoproject.com/weblog/2018/mar/06/security-releases/ (Release Notes, Vendor Advisory)
- RHSA-2019:0082 (vendor-advisory, Third Party Advisory)
- RHSA-2018:2927 (vendor-advisory, Third Party Advisory)
- RHSA-2019:0265 (vendor-advisory, Third Party Advisory)
- DSA-4161 (vendor-advisory, Third Party Advisory)
- github.com/django/django/commit/1ca63a66ef3163149ad822701273e8a1844192c2