Vulnerability Name:

CVE-2020-5214 (CCN-175170)

Assigned:2020-01-27
Published:2020-01-27
Updated:2020-02-07
Summary:In NetHack before 3.6.5, detecting an unknown configuration file option can cause a buffer overflow resulting in a crash or remote code execution/privilege escalation. This vulnerability affects systems that have NetHack installed suid/sgid and shared systems that allow users to upload their own configuration files. Users should upgrade to NetHack 3.6.5.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): High
Integrity (I): High
Availibility (A): High
8.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
7.7 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
9.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-120
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2020-5214

Source: XF
Type: UNKNOWN
nethack-cve20205214-bo(175170)

Source: CCN
Type: NetHack GIT Repository
NetHack error recovery after syntax error in configuration file is subject to a buffer overflow

Source: CONFIRM
Type: Third Party Advisory
https://github.com/NetHack/NetHack/security/advisories/GHSA-p8fw-rq89-xqx6

Vulnerable Configuration:Configuration 1:
  • cpe:/a:nethack:nethack:*:*:*:*:*:*:*:* (Version < 3.6.5)

  • Configuration CCN 1:
  • cpe:/a:nethack:nethack:3.6.3:-:*:*:*:*:*:*
  • OR cpe:/a:nethack:nethack:3.6.0:-:*:*:*:*:*:*
  • OR cpe:/a:nethack:nethack:3.6.1:-:*:*:*:*:*:*
  • OR cpe:/a:nethack:nethack:3.6.2:*:*:*:*:*:*:*
  • OR cpe:/a:nethack:nethack:3.6.4:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.bionic:def:202052140000000
    V
    CVE-2020-5214 on Ubuntu 18.04 LTS (bionic) - low.
    2020-01-28
    oval:com.ubuntu.xenial:def:202052140000000
    V
    CVE-2020-5214 on Ubuntu 16.04 LTS (xenial) - low.
    2020-01-28
    BACK
    nethack nethack *
    nethack nethack 3.6.3 -
    nethack nethack 3.6.0 -
    nethack nethack 3.6.1 -
    nethack nethack 3.6.2
    nethack nethack 3.6.4