Upstream information

CVE-2018-7537 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

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
Base Score 5.3
Vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Access Vector Network
Access Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact None
Availability Impact Low
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
Patchnames:
SUSE-Storage-4-2018-1235
SUSE Enterprise Storage 5
  • python-Django >= 1.6.11-6.5.1
Patchnames:
SUSE-Storage-5-2018-1237
SUSE OpenStack Cloud 6
  • python-Django >= 1.8.19-3.6.1
Patchnames:
SUSE-OpenStack-Cloud-6-2018-750
SUSE OpenStack Cloud 7
  • python-Django >= 1.8.19-3.4.1
Patchnames:
SUSE-OpenStack-Cloud-7-2018-655
SUSE Package Hub for SUSE Linux Enterprise 12
  • python-Django >= 1.11.11-8.1
Patchnames:
openSUSE-2018-243
openSUSE Leap 42.3
  • python-Django >= 1.8.19-6.4.1
  • python3-Django >= 1.8.19-5.3.1
Patchnames:
openSUSE-2018-317
openSUSE-2018-318


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.

Product(s) Source package State
SUSE Openstack Cloud 6 python-Django Released
SUSE Openstack Cloud 7 python-Django Released
SUSE Storage 3 python-Django Affected
SUSE Storage 4 python-Django Released
SUSE Storage 5 python-Django Released