CVE-2020-5212 MEDIUM

CVE-2020-5212: NetHack MENUCOLOR configuration file option is subject to a buffer overflow

Vendor Nethack
Product NetHack
Weakness CWE-120
Published January 28, 2020
Last update August 4, 2024

CVSS base score

5.0/10
Attack vector Local
Attack complexity High
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L

What the vulnerability does

01Description

In NetHack before 3.6.5, an extremely long value for the MENUCOLOR 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.

Key dates

02Disclosure timeline

January 28, 2020 CVE published
August 4, 2024 Record updated