Vulnerabilities · 2019 · Nethack
CVE-2019-19905
Nethack vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Nethack. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nethack runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nethack.org/security/ · Vendor Advisory
- bugs.debian.org/947005 · Patch
- github.com/NetHack/NetHack/commit/f001de79542b8c38b1f8e6d7eaefbbd28ab94b47 · Patch
- github.com/NetHack/NetHack/commit/f4a840a48f4bcf11757b3d859e9d53cc9d5ef226 · Patch
- github.com/NetHack/NetHack/security/advisories/GHSA-3cm7-rgh5-9pq5 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-19905
- cve.org/CVERecord?id=CVE-2019-19905
More vulnerabilities in Nethack products
CVE-2023-24809CVE-2020-5254CVE-2020-5253CVE-2020-5214CVE-2020-5213CVE-2020-5212CVE-2020-5211CVE-2020-5210All 11
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.