Shellfeed logo Shellfeed

CVE-2019-14232 · HIGH (CVSS 7.5)

Summary: An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4.

Details

An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. 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.

Severity

HIGH (CVSS 7.5) — vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

  • PyPI django [1.11a1 – 1.11.23]
  • PyPI django [2.1a1 – 2.1.11]
  • PyPI django [2.2a1 – 2.2.4]
  • GIT github.com/django/django [c669cf279ae7b3e02a61db4fb077030a4db80e4f – 974897759e9afc4cc56fb87e12319fa9697e93c9] [e7ad40fcf4b103bb5134f6a94eb86a4e10e53cb3 – ff9dcc0867eba90e9ab1b07a4b3eb79928717918] [635d53a86a36cde7866b9caefeb64d809e6bfcd9 – 8687fbe034ac5eec20e0948b98eb8a2f0b1431a1]

References