#VU24920 Buffer overflow in NetHack


Published: 2020-02-04

Vulnerability identifier: #VU24920

Vulnerability risk: High

CVSSv3.1: 8.5 [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]

CVE-ID: CVE-2020-5211

CWE-ID: CWE-119

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
NetHack
Client/Desktop applications / Games

Vendor: 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 invalid extended command in value for the AUTOCOMPLETE 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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

NetHack: 3.2.3 - 3.6.4


External links
http://github.com/NetHack/NetHack/security/advisories/GHSA-r788-4jf4-r9f7


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability