Publish GHSA-f8fh-8rgm-227h

This commit is contained in:
advisory-database[bot]
2023-09-13 17:36:47 +00:00
parent 63014410ee
commit 4ecbb175a2
@@ -1,13 +1,13 @@
{
"schema_version": "1.4.0",
"id": "GHSA-f8fh-8rgm-227h",
"modified": "2021-07-28T20:46:04Z",
"modified": "2023-09-13T17:35:35Z",
"published": "2021-05-07T16:16:16Z",
"aliases": [
"CVE-2020-7602"
],
"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.",
"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.",
"severity": [
{
"type": "CVSS_V3",
@@ -20,6 +20,11 @@
"ecosystem": "npm",
"name": "node-prompt-here"
},
"ecosystem_specific": {
"affected_functions": [
""
]
},
"ranges": [
{
"type": "ECOSYSTEM",