5.3

CVE-2018-7537: canonical ubuntu_linux Incorrect Regular Expression

CVSS: 5.3v3.0MediumModified
AliasesALPINE-CVE-2018-7537GHSA-2f9x-5v75-3qv4PYSEC-2018-6
Published 09-03-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-7537 is a medium (CVSS 5.3) Incorrect Regular Expression vulnerability in canonical ubuntu_linux. EPSS estimates a 4.37% chance of exploitation in the next 30 days, higher than 91.1% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.0 (NVD)
EPSS score
4.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 19 · Related 14

Timeline

  1. 09-03-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last 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. 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.

CVSS metrics

7 scores · 5 sources · 3 versions

EPSS trend

Probability

4.37%

Chance of exploitation in the next 30 days

Percentile

91%

Versus all other CVEs

30-day change

0.00 pp

From 4.37% on 18-09-2026

18-09-202618-10-2026
EPSS score
4.37%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Alpine2 products
  • py-django< 1.11.11-r0 | < 1.8.19-r0
  • py3-django< 1.11.11-r0
Debian2 products
Canonical1 product
Djangoproject1 product
  • django≥ 1.8, < 1.8.19 | ≥ 1.11, < 1.11.11 | ≥ 2.0, < 2.0.3
PyPI1 product
  • django≥ 1.11, < 1.11.11 | ≥ 1.8, < 1.8.19 | ≥ 2.0, < 2.0.3
Ubuntu1 product
  • python-django< 1.6.11-0ubuntu1.2 | < 1.8.7-1ubuntu5.6

6 vendors · 8 products

References

21 links
Show all 21 references