CVE-2020-5211: NetHack AUTOCOMPLETE configuration file option is subject to a buffer overflow
In NetHack before 3.6.5, an invalid extended command in value for the AUTOCOMPLETE 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.
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-5211?
CVE-2020-5211 has a high severity rating due to its potential for remote code execution and privilege escalation.
How do I fix CVE-2020-5211?
To fix CVE-2020-5211, you should upgrade to NetHack version 3.6.5 or later.
What systems are affected by CVE-2020-5211?
CVE-2020-5211 affects systems that have NetHack installed with suid or sgid permissions.
Can CVE-2020-5211 lead to a system crash?
Yes, CVE-2020-5211 can cause a buffer overflow resulting in a crash.
Is it safe to use older versions of NetHack after CVE-2020-5211 has been disclosed?
It is not safe to use older versions of NetHack after the disclosure of CVE-2020-5211 due to the identified vulnerabilities.