{"id":"GHSA-f8fh-8rgm-227h","summary":"OS Command Injection in node-prompt-here","details":"node-prompt-here through 1.0.1 allows execution of arbitrary commands. The `runCommand()` is called by `getDevices()` function in file `linux/manager.js`, which is required by the `index. process.env.NM_CLI` in the file `linux/manager.js`. This function is used to construct the argument of function `execSync()`, which can be controlled by users without any sanitization.","aliases":["CVE-2020-7602","SNYK-JS-NODEPROMPTHERE-560115"],"modified":"2026-05-07T04:57:16.079562900Z","published":"2021-05-07T16:16:16Z","database_specific":{"cwe_ids":["CWE-78"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-05-03T21:44:33Z","nvd_published_at":"2020-03-15T22:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7602"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115"}],"affected":[{"package":{"name":"node-prompt-here","ecosystem":"npm","purl":"pkg:npm/node-prompt-here"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-f8fh-8rgm-227h/GHSA-f8fh-8rgm-227h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}