CVE-2020-5212

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nethack:nethack:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:33

Type Values Removed Values Added
References () https://github.com/NetHack/NetHack/security/advisories/GHSA-g89f-m829-4m56 - Third Party Advisory () https://github.com/NetHack/NetHack/security/advisories/GHSA-g89f-m829-4m56 - Third Party Advisory
CVSS v2 : 7.5
v3 : 9.8
v2 : 7.5
v3 : 5.0

Information

Published : 2020-01-28 18:15

Updated : 2024-11-21 05:33


NVD link : CVE-2020-5212

Mitre link : CVE-2020-5212

CVE.ORG link : CVE-2020-5212


JSON object : View

Products Affected

nethack

  • nethack
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')