#VU24924 Buffer overflow in NetHack - CVE-2020-5212
Published: February 5, 2020
Vulnerability identifier: #VU24924
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2020-5212
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
NetHack
NetHack
Software vendor:
The NetHack DevTeam
The NetHack DevTeam
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in an extremely long value for the MENUCOLOR configuration file option. A remote attacker can trigger memory corruption, cause a denial of service (DoS) condition or execute arbitrary code on the target system with elevated privileges.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Note: This vulnerability affects systems that have NetHack installed suid/sgid and shared systems that allow users to upload their own configuration files.
Remediation
Install updates from vendor's website.