Privilege Escalation Affecting nethack package, versions [,3.6.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (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 Learn

Learn about Privilege Escalation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-NETHACK-2380917
  • published26 Jan 2022
  • disclosed10 Mar 2020
  • creditUnknown

Introduced: 10 Mar 2020

CVE-2020-5253  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade nethack to version 3.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Privilege Escalation. NetHack before version 3.6.0 allowed malicious use of escaping of characters in the configuration file (usually .nethackrc) which could be exploited. This bug is patched in NetHack 3.6.0.

CVSS Base Scores

version 3.1