Vulnerability Name:

CVE-2018-20786 (CCN-158007)

Assigned:2018-12-24
Published:2018-12-24
Updated:2020-03-30
Summary:libvterm through 0+bzr726, as used in Vim and other products, mishandles certain out-of-memory conditions, leading to a denial of service (application crash), related to screen.c, state.c, and vterm.c.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/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): High
4.0 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
3.5 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/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): Local
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
2.1 Low (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-476
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2018-20786

Source: XF
Type: UNKNOWN
vim-cve201820786-dos(158007)

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/vim/vim/commit/cd929f7ba8cc5b6d6dcf35c8b34124e969fed6b8

Source: CCN
Type: Vim GIT Repository
Possible NPD error #3711

Source: MISC
Type: Exploit, Third Party Advisory
https://github.com/vim/vim/issues/3711

Source: UBUNTU
Type: UNKNOWN
USN-4309-1

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2018-20786

Vulnerable Configuration:Configuration 1:
  • cpe:/a:leonerd:libvterm:*:*:*:*:*:*:*:* (Version <= 0+bzr726)

  • Configuration CCN 1:
  • cpe:/a:vim:vim:-:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.disco:def:2018207860000000
    V
    CVE-2018-20786 on Ubuntu 19.04 (disco) - low.
    2019-02-24
    oval:com.ubuntu.bionic:def:201820786000
    V
    CVE-2018-20786 on Ubuntu 18.04 LTS (bionic) - low.
    2019-02-24
    oval:com.ubuntu.cosmic:def:2018207860000000
    V
    CVE-2018-20786 on Ubuntu 18.10 (cosmic) - low.
    2019-02-24
    oval:com.ubuntu.cosmic:def:201820786000
    V
    CVE-2018-20786 on Ubuntu 18.10 (cosmic) - low.
    2019-02-24
    oval:com.ubuntu.bionic:def:2018207860000000
    V
    CVE-2018-20786 on Ubuntu 18.04 LTS (bionic) - low.
    2019-02-24
    oval:com.ubuntu.trusty:def:201820786000
    V
    CVE-2018-20786 on Ubuntu 14.04 LTS (trusty) - low.
    2019-02-24
    oval:com.ubuntu.xenial:def:2018207860000000
    V
    CVE-2018-20786 on Ubuntu 16.04 LTS (xenial) - low.
    2019-02-24
    oval:com.ubuntu.xenial:def:201820786000
    V
    CVE-2018-20786 on Ubuntu 16.04 LTS (xenial) - low.
    2019-02-24
    BACK
    leonerd libvterm *
    vim vim -