CVE-2020-5212 NetHack MENUCOLOR 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, an extremely long value for the MENUCOLOR 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2020-5212 vendor-advisory
- github.com issue-tracking third-party-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking