Buffer overflow in NetHack - CVE-2019-19905

 

Buffer overflow in NetHack - CVE-2019-19905

Published: December 19, 2019 / Updated: July 28, 2020


Vulnerability identifier: #VU31988
CSH Severity: High
CVSS v4.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-2019-19905
CWE-ID: CWE-120
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: The NetHack DevTeam
Affected software:
NetHack

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

NetHack 3.6.x before 3.6.4 is prone to a buffer overflow vulnerability when reading very long lines from configuration files. This affects systems that have NetHack installed suid/sgid, and shared systems that allow users to upload their own configuration files.


How to mitigate CVE-2019-19905

Install update from vendor's website.

Sources