Skip to content

CVE-2020-5213 NetHack SYMBOL configuration file option is subject to a buffer overflow

CriticalCVSS 9.8 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

In NetHack before 3.6.5, too long of a value for the SYMBOL 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.

Upgrade path

6 packages: 4 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/nethack(Ubuntu 18.04) = 3.6.0-4; All versions No fix listed No fix yet
ubuntu/nethack(Ubuntu 20.04) = 3.6.1-1; All versions No fix listed No fix yet
debian/nethack(Debian 12) < 3.6.6-1 3.6.6-1 Fixed
debian/nethack(Debian 13) < 3.6.6-1 3.6.6-1 Fixed
debian/nethack(Debian 14) < 3.6.6-1 3.6.6-1 Fixed
nethack < 3.6.5; = < 3.6.5 3.6.5 Fixed

Affected products

ProductAffected versionsFixed in
debian/nethack(Debian:12) < 3.6.6-1 3.6.6-1
debian/nethack(Debian:13) < 3.6.6-1 3.6.6-1
debian/nethack(Debian:14) < 3.6.6-1 3.6.6-1
nethack < 3.6.5 3.6.5
nethack = < 3.6.5 No fix listed
ubuntu/nethack(Ubuntu:18.04) All versions No fix listed
ubuntu/nethack(Ubuntu:18.04) = 3.6.0-4 No fix listed
ubuntu/nethack(Ubuntu:20.04) All versions No fix listed
ubuntu/nethack(Ubuntu:20.04) = 3.6.1-1 No fix listed

References