CVE-2020-5210

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nethack:nethack:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:33

Type Values Removed Values Added
References () https://github.com/NetHack/NetHack/commit/f3def5c0b999478da2d0a8f0b6a7c370a2065f77 - Patch () https://github.com/NetHack/NetHack/commit/f3def5c0b999478da2d0a8f0b6a7c370a2065f77 - Patch
References () https://github.com/NetHack/NetHack/security/advisories/GHSA-v5pg-hpjg-9rpp - Third Party Advisory () https://github.com/NetHack/NetHack/security/advisories/GHSA-v5pg-hpjg-9rpp - Third Party Advisory
CVSS v2 : 4.6
v3 : 7.8
v2 : 4.6
v3 : 5.0

Information

Published : 2020-01-28 18:15

Updated : 2024-11-21 05:33


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')