Buffer Overflow Affecting nethack package, versions [3.6.0,3.6.4)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.55% (78th 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-UNMANAGED-NETHACK-2380914
  • published26 Jan 2022
  • disclosed19 Dec 2019
  • creditUnknown

Introduced: 19 Dec 2019

CVE-2019-19905  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade nethack to version 3.6.4 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. 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.

CVSS Base Scores

version 3.1