Vulnerability Details : CVE-2020-5209
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.
Vulnerability category: OverflowExecute codeGain privilege
Products affected by CVE-2020-5209
- cpe:2.3:a:nethack:nethack:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-5209
0.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 60 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-5209
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.6
|
MEDIUM | AV:L/AC:L/Au:N/C:P/I:P/A:P |
3.9
|
6.4
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST | |
5.0
|
MEDIUM | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L |
0.8
|
3.7
|
GitHub, Inc. |
CWE ids for CVE-2020-5209
-
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2020-5209
-
https://github.com/NetHack/NetHack/security/advisories/GHSA-fw72-r8xm-45p8
NetHack command line parsing of options starting with -de and -i is subject to a buffer overflow · Advisory · NetHack/NetHack · GitHubThird Party Advisory
-
https://github.com/NetHack/NetHack/commit/f3def5c0b999478da2d0a8f0b6a7c370a2065f77
command line triggered buffer overruns · NetHack/NetHack@f3def5c · GitHubPatch
Jump to