Vulnerability Details : CVE-2019-19905
NetHack 3.6.x before 3.6.4 is prone to a buffer overflow vulnerability when reading very long lines from configuration files. This affects systems that have NetHack installed suid/sgid, and shared systems that allow users to upload their own configuration files.
Vulnerability category: Overflow
Products affected by CVE-2019-19905
- cpe:2.3:a:nethack:nethack:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-19905
0.55%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 78 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-19905
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2019-19905
-
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)
References for CVE-2019-19905
-
https://github.com/NetHack/NetHack/commit/f4a840a48f4bcf11757b3d859e9d53cc9d5ef226
fix potential buffer overflow loading config file · NetHack/NetHack@f4a840a · GitHubPatch
-
https://bugs.debian.org/947005
#947005 - nethack: CVE-2019-19905: buffer overflow when parsing config files - Debian Bug report logsIssue Tracking;Patch;Third Party Advisory
-
https://github.com/NetHack/NetHack/security/advisories/GHSA-3cm7-rgh5-9pq5
NetHack: Privilege escalation/remote code execution/crash in configuration parsing · Advisory · NetHack/NetHack · GitHubThird Party Advisory
-
https://github.com/NetHack/NetHack/commit/f001de79542b8c38b1f8e6d7eaefbbd28ab94b47
parse_conf_file fix fix · NetHack/NetHack@f001de7 · GitHubPatch
-
https://nethack.org/security/
NetHack 3.6.5: Security IssuesVendor Advisory
Jump to