Buffer Overflow The advisory has been revoked - it doesn't affect any version of package nethack  (opens in a new tab)


Threat Intelligence

EPSS
1.07% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2010-NETHACK-1029425
  • published29 Jan 2020
  • disclosed28 Jan 2020

Introduced: 28 Jan 2020

CVE-2020-5212  (opens in a new tab)
CWE-120  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:20.10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nethack package and not the nethack package as distributed by Ubuntu.

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.