CVE-2020-5209: NetHack command line parsing of options starting with -de and -i is subject to a buffer overflow
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
NetHackto a version that resolves this vulnerability.Fixed in 3.6.5
Event History
Frequently Asked Questions
What is the severity of CVE-2020-5209?
CVE-2020-5209 is classified as a high severity vulnerability due to its potential for remote code execution and privilege escalation.
How do I fix CVE-2020-5209?
To fix CVE-2020-5209, upgrade your NetHack installation to version 3.6.5 or later.
Which versions of NetHack are affected by CVE-2020-5209?
CVE-2020-5209 affects all versions of NetHack prior to 3.6.5.
What types of systems are vulnerable to CVE-2020-5209?
Systems that have NetHack installed with suid/sgid permissions are particularly vulnerable to CVE-2020-5209.
What is the potential impact of CVE-2020-5209?
The potential impact of CVE-2020-5209 includes a crash of the application or the possibility of remote code execution leading to unauthorized access.