CVE-2018-7536: canonical ubuntu_linux Incorrect Regular Expression
Vulnerability summary
CVE-2018-7536 is a medium (CVSS 5.3) Incorrect Regular Expression vulnerability in canonical ubuntu_linux. EPSS estimates a 4.55% chance of exploitation in the next 30 days, higher than 91.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 19 · Related 14Timeline
- 09-03-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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. 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.
CVSS metrics
8 scores · 6 sources · 3 versions- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · Red hatEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
4.55%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
0.00 pp
From 4.55% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat4 products
- openstack10 | 13
- python-django< 0:1.8.19-1.el7ost | < 0:1.11.11-1.el7ost
- python-django-bash-completion< 0:1.8.19-1.el7ost | < 0:1.11.11-1.el7ost
- python2-django< 0:1.11.11-1.el7ost
Alpine2 products
- py-django< 1.11.11-r0 | < 1.8.19-r0
- py3-django< 1.11.11-r0
Debian2 products
- python-django< 1:1.11.11-1
- debian_linuxEOL7.0 | 8.0 | 9.0
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 17.10
Djangoproject1 product
- django≥ 1.8, < 1.8.19 | ≥ 1.11, < 1.11.11 | ≥ 2.0, < 2.0.3
PyPI1 product
- django≥ 2.0a1, < 2.0.3 | ≥ 1.11a1, < 1.11.11 | ≥ 1.8a1, < 1.8.19 | ≥ 2.0, < 2.0.3
Ubuntu1 product
- python-django< 1.6.11-0ubuntu1.2 | < 1.8.7-1ubuntu5.6
7 vendors · 12 products
References
29 links- www.djangoproject.com/weblog/2018/mar/06/security-releases/Release NotesVendor AdvisoryARTICLEREPORT
Show all 29 references
- github.com/django/djangoPACKAGE