{"id":"CVE-2020-5209","published":"2020-01-28T17:50:19Z","modified":"2024-08-04T08:22:08Z","title":"NetHack command line parsing of options starting with -de and -i is subject to a buffer overflow","vendor":"NetHack","product":"NetHack","tier":"tail","description":{"text":"In NetHack before 3.6.5, unknown options starting with -de and -i 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00803,"percentile":0.56949,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/NetHack/NetHack/commit/f3def5c0b999478da2d0a8f0b6a7c370a2065f77","tags":["x_refsource_MISC"]},{"url":"https://github.com/NetHack/NetHack/security/advisories/GHSA-fw72-r8xm-45p8","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":11.39},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"nethack","affectedVersions":[{"vendor":"NetHack","product":"NetHack","versions":["< 3.6.5"]}],"euvd":{"id":"EUVD-2020-26449","exploited":false,"provenance":"source"}}