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.
References
Link | Resource |
---|---|
https://github.com/NetHack/NetHack/commit/f3def5c0b999478da2d0a8f0b6a7c370a2065f77 | Patch |
https://github.com/NetHack/NetHack/security/advisories/GHSA-v5pg-hpjg-9rpp | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2020-01-28 18:15
Updated : 2024-02-04 20:39
NVD link : CVE-2020-5210
Mitre link : CVE-2020-5210
CVE.ORG link : CVE-2020-5210
JSON object : View
Products Affected
nethack
- nethack
CWE
CWE-120
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')