Bug 1800755 (CVE-2020-5210) - CVE-2020-5210 nethack: command line -w option parsing is subject to a buffer overflow
Summary: CVE-2020-5210 nethack: command line -w option parsing is subject to a buffer ...
Alias: CVE-2020-5210
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1800756 1800757
TreeView+ depends on / blocked
Reported: 2020-02-07 20:35 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-02-08 02:09 UTC (History)
3 users (show)

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

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-02-07 20:35:16 UTC
In NetHack before 3.6.5, an invalid argument to the -w command line 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 influence command line options. Users should upgrade to NetHack 3.6.5.


Upstream commit:

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

Affects: epel-8 [bug 1800756]
Affects: fedora-all [bug 1800757]

Comment 2 Ron Olson 2020-02-07 20:36:12 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

Comment 3 Product Security DevOps Team 2020-02-08 02:09:38 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.

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