CVE-2019-19905

NetHack 3.6.x before 3.6.4 is prone to a buffer overflow vulnerability when reading very long lines from configuration files

published December 19, 2019

CVSS
—
EPSS
3%
Percentile
88.7
In the wild
Unconfirmed
What it is

⚠️ A sneaky buffer overflow lurks for NetHack users! When reading long lines from configuration files, it’s like letting a guest in who brings a suitcase too big for the door. 🚪 Consider this vulnerability like a hotel with a strict check-in limit that suddenly allows a guest to bring in a massive trunk; it can overflow into the lobby, causing chaos! If exploited, an attacker could potentially run arbitrary code, gaining unauthorized access to sensitive system resources. This could lead to a complete system compromise, especially on systems where NetHack has suid/sgid permissions activated. Yikes!

Put simply

Consider this vulnerability like a hotel with a strict check-in limit that suddenly allows a guest to bring in a massive trunk; it can overflow into the lobby, causing chaos! This buffer overflow vulnerability arises when NetHack 3.6.x (before 3.6.4) processes lengthy lines in configuration files, allowing attackers to manipulate memory, which can ultimately lead to executing malicious code.

What to do

If exploited, an attacker could potentially run arbitrary code, gaining unauthorized access to sensitive system resources. This could lead to a complete system compromise, especially on systems where NetHack has suid/sgid permissions activated. Yikes! Upgrade to NetHack version 3.6.4 or later immediately to patch this vulnerability. Additionally, review your configuration file handling processes to restrict how users can upload their files. Don't leave your game unchecked! You've got this! With a quick update and some preventive actions, you'll be protecting your system in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03384 · 88.7th percentile
Published
2019-12-19T17:39Z
EPSS history
Timeline
  • 19 DEC 17:39Z
    NetHack 3.6.x before 3.6.4 is prone to a buffer overflow vulnerability when reading very long lines from configuration files
    cvelistv5