Buffer Overflow Affecting nethack package, versions <3.6.6-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.13% (48th 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-DEBIANUNSTABLE-NETHACK-543600
  • published29 Jan 2020
  • disclosed28 Jan 2020

Introduced: 28 Jan 2020

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

How to fix?

Upgrade Debian:unstable nethack to version 3.6.6-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nethack package and not the nethack package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

In NetHack before 3.6.5, unknown options starting with -de and -i 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 influence command line options. Users should upgrade to NetHack 3.6.5.

CVSS Scores

version 3.1