Vulnerability Name:

CVE-2018-7537 (CCN-139915)

Assigned:2018-03-06
Published:2018-03-06
Updated:2019-02-28
Summary: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 v3 Severity:5.3 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
4.6 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Low
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Low
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-185
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2018-7537

Source: BID
Type: Third Party Advisory, VDB Entry
103357

Source: REDHAT
Type: Third Party Advisory
RHSA-2018:2927

Source: REDHAT
Type: Third Party Advisory
RHSA-2019:0265

Source: XF
Type: UNKNOWN
django-cve20187537-dos(139915)

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20180308 [SECURITY] [DLA 1303-1] python-django security update

Source: UBUNTU
Type: Third Party Advisory
USN-3591-1

Source: DEBIAN
Type: Third Party Advisory
DSA-4161

Source: CCN
Type: Django Web site
Django security releases issued: 2.0.3, 1.11.11, and 1.8.19

Source: CONFIRM
Type: Release Notes, Vendor Advisory
https://www.djangoproject.com/weblog/2018/mar/06/security-releases/

Vulnerable Configuration:Configuration 1:
  • cpe:/o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version >= 1.8 and < 1.8.19)
  • OR cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version >= 1.11 and < 1.11.11)
  • OR cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version >= 2.0 and < 2.0.3)

  • Configuration 3:
  • cpe:/o:debian:debian_linux:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20187537
    V
    CVE-2018-7537
    2022-06-30
    oval:org.opensuse.security:def:113248
    P
    python36-Django-3.2.7-2.3 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:58069
    P
    Security update for xorg-x11-server (Important)
    2021-12-14
    oval:org.opensuse.security:def:58045
    P
    Security update for the Linux Kernel (Live Patch 40 for SLE 12 SP3) (Important)
    2021-11-19
    oval:org.opensuse.security:def:106660
    P
    python36-Django-3.2.7-2.3 on GA media (Moderate)
    2021-10-01
    oval:org.opensuse.security:def:57095
    P
    Security update for the Linux Kernel (Live Patch 40 for SLE 12 SP3) (Important)
    2021-09-23
    oval:org.opensuse.security:def:57995
    P
    Security update for the Linux Kernel (Live Patch 37 for SLE 12 SP3) (Important)
    2021-08-25
    oval:org.opensuse.security:def:55223
    P
    Security update for systemd (Important)
    2021-07-21
    oval:org.opensuse.security:def:56046
    P
    Security update for the Linux Kernel (Important)
    2021-07-20
    oval:org.opensuse.security:def:55200
    P
    Security update for libX11 (Important)
    2021-06-08
    oval:org.opensuse.security:def:57926
    P
    Security update for the Linux Kernel (Live Patch 36 for SLE 12 SP3) (Important)
    2021-06-04
    oval:org.opensuse.security:def:55880
    P
    Security update for the Linux Kernel (Live Patch 38 for SLE 12 SP2) (Important)
    2021-04-12
    oval:org.opensuse.security:def:57964
    P
    Security update for MozillaFirefox (Important)
    2021-01-29
    oval:org.opensuse.security:def:55201
    P
    Security update for java-1_7_1-ibm (Moderate)
    2021-01-04
    oval:org.opensuse.security:def:56922
    P
    Security update for clamav (Important)
    2020-12-22
    oval:org.opensuse.security:def:55774
    P
    Security update for the Linux Kernel (Live Patch 34 for SLE 12 SP2) (Important)
    2020-12-07
    oval:org.opensuse.security:def:55363
    P
    python-libxml2 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56521
    P
    Security update for gpg2 (Important)
    2020-12-01
    oval:org.opensuse.security:def:25698
    P
    Security update for dpdk (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56439
    P
    Security update for samba and resource-agents (Important)
    2020-12-01
    oval:org.opensuse.security:def:25393
    P
    Security update for libqt5-qtbase (Important)
    2020-12-01
    oval:org.opensuse.security:def:56724
    P
    Security update for clamav (Important)
    2020-12-01
    oval:org.opensuse.security:def:25684
    P
    Security update for postgresql10 (Important)
    2020-12-01
    oval:org.opensuse.security:def:56331
    P
    Security update for the Linux Kernel (Important)
    2020-12-01
    oval:org.opensuse.security:def:25309
    P
    Security update for MozillaFirefox (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56684
    P
    Security update for libqt5-qtbase (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26415
    P
    Security update for python-Django (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56643
    P
    Security update for ImageMagick (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:57760
    P
    libMagickCore-6_Q16-1 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25252
    P
    Security update for ipmitool (Important)
    2020-12-01
    oval:org.opensuse.security:def:56544
    P
    Security update for rsyslog (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:24969
    P
    Security update for kernel-firmware (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56605
    P
    Security update for ghostscript (Important)
    2020-12-01
    oval:org.opensuse.security:def:57652
    P
    Security update for xen (Important)
    2020-12-01
    oval:org.opensuse.security:def:25171
    P
    Security update for mailman (Important)
    2020-12-01
    oval:org.opensuse.security:def:56522
    P
    Security update for rsync (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56531
    P
    Security update for unixODBC (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:57367
    P
    Security update for gpgme
    2020-12-01
    oval:org.opensuse.security:def:25044
    P
    Security update for dhcp (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26380
    P
    Security update for irssi (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25596
    P
    Security update for xorg-x11-server (Important)
    2020-12-01
    oval:org.opensuse.security:def:57201
    P
    Security update for coreutils
    2020-12-01
    oval:org.opensuse.security:def:55601
    P
    Security update for spice (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:24980
    P
    Security update for ucode-intel (Important)
    2020-12-01
    oval:org.opensuse.security:def:25742
    P
    Security update for ceph (Important)
    2020-12-01
    oval:org.opensuse.security:def:57852
    P
    libspice-client-glib-2_0-8 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25543
    P
    Security update for libgxps (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:80704
    P
    Security update for python-Django (Moderate)
    2018-04-18
    oval:com.ubuntu.artful:def:20187537000
    V
    CVE-2018-7537 on Ubuntu 17.10 (artful) - medium.
    2018-03-09
    oval:com.ubuntu.xenial:def:201875370000000
    V
    CVE-2018-7537 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-03-09
    oval:com.ubuntu.trusty:def:20187537000
    V
    CVE-2018-7537 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-03-09
    oval:com.ubuntu.xenial:def:20187537000
    V
    CVE-2018-7537 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-03-09
    BACK
    canonical ubuntu linux 14.04
    canonical ubuntu linux 16.04
    canonical ubuntu linux 17.10
    djangoproject django *
    djangoproject django *
    djangoproject django *
    debian debian linux 7.0
    debian debian linux 8.0
    debian debian linux 9.0