Bug 1800724 (CVE-2020-5212) - CVE-2020-5212 nethack: MENUCOLOR configuration file option is subject to a buffer overflow
Summary: CVE-2020-5212 nethack: MENUCOLOR configuration file option is subject to a bu...
Alias: CVE-2020-5212
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1800725 1800726
TreeView+ depends on / blocked
Reported: 2020-02-07 20:03 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-02-07 20:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-02-07 20:09:36 UTC

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-02-07 20:03:38 UTC
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.


Comment 1 Guilherme de Almeida Suckevicz 2020-02-07 20:03:57 UTC
Created nethack tracking bugs for this issue:

Affects: epel-8 [bug 1800726]
Affects: fedora-all [bug 1800725]

Comment 2 Product Security DevOps Team 2020-02-07 20:09:36 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 3 Ron Olson 2020-02-07 20:10:50 UTC
3.6.5 fixes all these and has already been pushed to stable for F30 and F31, and is still in testing for EPEL8

https://bodhi.fedoraproject.org/updates/FEDORA-2020-517b2845a1 F31
https://bodhi.fedoraproject.org/updates/FEDORA-2020-659277b3b8 F30
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-b1d1e3e81d EPEL8

Note You need to log in before you can comment on or make changes to this bug.