{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-5253 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2020-5253 is a low-severity vulnerability in NetHack, published on 10 Mar 2020."},"fix_prompt":"Check this codebase for CVE-2020-5253 and fix it if it is affected.\n\nWhat it is: CVE-2020-5253 is a low-severity vulnerability in NetHack, published on 10 Mar 2020. \nExploitation: There is no known exploitation of CVE-2020-5253 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-5253/ (Markdown: https://insights.sbomify.com/CVE-2020-5253/index.md)","id":"CVE-2020-5253","markdown":"https://insights.sbomify.com/CVE-2020-5253/index.md","name":"CVE-2020-5253","record":{"aliases":["DEBIAN-CVE-2020-5253","GHSA-2c7p-3fj4-223m","UBUNTU-CVE-2020-5253","openSUSE-SU-2025:14898-1"],"analysis":null,"analysis_generated_by":null,"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-269","name":"Improper Privilege Management"},{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"description":"NetHack before version 3.6.0 allowed malicious use of escaping of characters in the configuration file (usually .nethackrc) which could be exploited. This bug is patched in NetHack 3.6.0.","ecosystems":["openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Privilege escalation in NetHack","id":"CVE-2020-5253","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2020"},"n_packages":1,"n_references":2,"next":{"headline":"NetHack hilite_status parsing privilege escalation","id":"CVE-2020-5254"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.4.3-6.1"],"introduced":["0"],"last_affected":[],"package":"nethack","purl":"pkg:rpm/opensuse/nethack\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14898-1"}],"prev":{"headline":"Malicious package may avoid detection in python auditing","id":"CVE-2020-5252"},"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["NetHack"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2020-5253/"}