9.8
CRITICAL
CVE-2019-19905
NetHack suid Buffer Overflow Vulnerability
Description

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.

INFO

Published Date :

Dec. 19, 2019, 6:15 p.m.

Last Modified :

Nov. 21, 2024, 4:35 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2019-19905 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2019-19905 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Nethack nethack

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 2 months, 1 week ago
34 stars 3 fork 3 watcher
Born at : March 12, 2021, 12:22 p.m. This repo has been linked 1063 different CVEs too.

None

Updated: 2 months, 3 weeks ago
19 stars 10 fork 10 watcher
Born at : Jan. 2, 2021, 10:19 p.m. This repo has been linked 1052 different CVEs too.

None

Updated: 3 weeks ago
86 stars 33 fork 33 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1113 different CVEs too.

None

C

Updated: 4 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : March 7, 2020, 8:23 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-19905 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-19905 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bugs.debian.org/947005
    Added Reference https://github.com/NetHack/NetHack/commit/f001de79542b8c38b1f8e6d7eaefbbd28ab94b47
    Added Reference https://github.com/NetHack/NetHack/commit/f4a840a48f4bcf11757b3d859e9d53cc9d5ef226
    Added Reference https://github.com/NetHack/NetHack/security/advisories/GHSA-3cm7-rgh5-9pq5
    Added Reference https://nethack.org/security/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Dec. 27, 2019

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.debian.org/947005 No Types Assigned https://bugs.debian.org/947005 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/NetHack/NetHack/commit/f001de79542b8c38b1f8e6d7eaefbbd28ab94b47 No Types Assigned https://github.com/NetHack/NetHack/commit/f001de79542b8c38b1f8e6d7eaefbbd28ab94b47 Patch
    Changed Reference Type https://github.com/NetHack/NetHack/commit/f4a840a48f4bcf11757b3d859e9d53cc9d5ef226 No Types Assigned https://github.com/NetHack/NetHack/commit/f4a840a48f4bcf11757b3d859e9d53cc9d5ef226 Patch
    Changed Reference Type https://github.com/NetHack/NetHack/security/advisories/GHSA-3cm7-rgh5-9pq5 No Types Assigned https://github.com/NetHack/NetHack/security/advisories/GHSA-3cm7-rgh5-9pq5 Third Party Advisory
    Changed Reference Type https://nethack.org/security/ No Types Assigned https://nethack.org/security/ Vendor Advisory
    Added CWE NIST CWE-120
    Added CPE Configuration OR *cpe:2.3:a:nethack:nethack:*:*:*:*:*:*:*:* versions from (including) 3.6.0 up to (excluding) 3.6.4
  • CVE Modified by [email protected]

    Dec. 24, 2019

    Action Type Old Value New Value
    Changed Description NetHack 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. 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.
  • CVE Modified by [email protected]

    Dec. 23, 2019

    Action Type Old Value New Value
    Added Reference https://nethack.org/security/ [No Types Assigned]
    Added Reference https://github.com/NetHack/NetHack/security/advisories/GHSA-3cm7-rgh5-9pq5 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-19905 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.55 }} 0.17%

score

0.78302

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability