Upstream information

CVE-2018-7537 at MITRE


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.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5
Vector AV:N/AC:L/Au:N/C:N/I:N/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact None
Integrity Impact None
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 5.3 5.3
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact None None
Integrity Impact None None
Availability Impact Low Low
CVSSv3 Version 3 3.1
SUSE Bugzilla entry: 1083305 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Enterprise Storage 4
  • python-Django >= 1.6.11-5.5.1
SUSE Enterprise Storage 5
  • python-Django >= 1.6.11-6.5.1
SUSE OpenStack Cloud 6
  • python-Django >= 1.8.19-3.6.1
SUSE OpenStack Cloud 7
  • python-Django >= 1.8.19-3.4.1
SUSE Package Hub 12
  • python-Django >= 1.11.11-8.1
openSUSE Tumbleweed
  • python36-Django >= 3.2.7-2.3
  • python38-Django >= 3.2.7-2.3
  • python39-Django >= 3.2.7-2.3
openSUSE Tumbleweed GA python36-Django-3.2.7-2.3

Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Package Hub 12 python-Django Released
Products past their end of life and not receiving proactive updates anymore.
SUSE Enterprise Storage 3 python-Django Affected
SUSE Enterprise Storage 4 python-Django Released
SUSE Enterprise Storage 5 python-Django Released
SUSE OpenStack Cloud 6 python-Django Released
SUSE OpenStack Cloud 6-LTSS python-Django Affected
SUSE OpenStack Cloud 7 python-Django Released

SUSE Timeline for this CVE

CVE page created: Wed Feb 28 15:53:43 2018
CVE page last modified: Mon Jan 16 18:52:59 2023