{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-5254 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2020-5254 is a low-severity memory corruption vulnerability in NetHack, published on 10 Mar 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-5254 and fix it if it is affected.\n\nWhat it is: CVE-2020-5254 is a low-severity memory corruption vulnerability in NetHack, published on 10 Mar 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-5254 in the wild and no public exploit code.\n\nAffected product: NetHack. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-5254/ (Markdown: https://insights.sbomify.com/CVE-2020-5254/index.md)","id":"CVE-2020-5254","markdown":"https://insights.sbomify.com/CVE-2020-5254/index.md","name":"CVE-2020-5254","record":{"aliases":["DEBIAN-CVE-2020-5254","GHSA-2ch6-6r8h-m2p9","UBUNTU-CVE-2020-5254"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"NetHack game","requires_auth":"low_privilege","summary":"Out-of-bounds values in the hilite_status option allow attackers to trigger memory corruption, potentially leading to privilege escalation or code execution.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nethack","vendor":"nethack"}],"cvss":{"score":3.9,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"In NetHack before 3.6.6, some out-of-bound values for the hilite_status option can be exploited. NetHack 3.6.6 resolves this issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2020-03-09","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2020-03-09T23:40:36Z","kind":"github_poc","ref":"https://github.com/dpmdpm2/CVE-2020-5254","stars":2,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"NetHack hilite_status parsing privilege escalation","id":"CVE-2020-5254","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"Prevent cache poisoning via a Response Content-Type header","id":"CVE-2020-5255"},"packages":[],"prev":{"headline":"Privilege escalation in NetHack","id":"CVE-2020-5253"},"products":["NetHack"],"published":"2020-03-10","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2019-19905","kev_date_added":null,"published":"2019-12-19"},{"cvss_score":5.5,"headline":"NetHack Call command buffer overflow","id":"CVE-2023-24809","kev_date_added":null,"published":"2023-02-17"},{"cvss_score":5,"headline":"NetHack command line parsing of options starting with -de and -i is subject to a buffer overflow","id":"CVE-2020-5209","kev_date_added":null,"published":"2020-01-28"},{"cvss_score":5,"headline":"NetHack command line -w option parsing is subject to a buffer overflow","id":"CVE-2020-5210","kev_date_added":null,"published":"2020-01-28"},{"cvss_score":5,"headline":"NetHack AUTOCOMPLETE configuration file option is subject to a buffer overflow","id":"CVE-2020-5211","kev_date_added":null,"published":"2020-01-28"},{"cvss_score":5,"headline":"NetHack MENUCOLOR configuration file option is subject to a buffer overflow","id":"CVE-2020-5212","kev_date_added":null,"published":"2020-01-28"},{"cvss_score":5,"headline":"NetHack SYMBOL configuration file option is subject to a buffer overflow","id":"CVE-2020-5213","kev_date_added":null,"published":"2020-01-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["NetHack"]},"summary":"Out-of-bounds values in the hilite_status option allow attackers to trigger memory corruption, potentially leading to privilege escalation or code execution.","url":"https://insights.sbomify.com/CVE-2020-5254/"}