{ "id": "CVE-2020-7602", "sourceIdentifier": "report@snyk.io", "published": "2020-03-15T22:15:14.583", "lastModified": "2024-11-21T05:37:27.360", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "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." }, { "lang": "es", "value": "node-prompt-here versiones hasta 1.0.1, permite una ejecuci\u00f3n de comandos arbitraria. La funci\u00f3n \"runCommand()\" es llamada por una funci\u00f3n \"getDevices()\" en el archivo \"linux/manager.js\", que es requerida por el \"index. process.env.NM_CLI\" en el archivo \"linux/manager.js\". Esta funci\u00f3n es usada para construir el argumento de la funci\u00f3n \"execSync()\", que puede ser controlada por los usuarios sin ning\u00fan tipo de saneamiento." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "baseScore": 7.5, "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL" }, "baseSeverity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-78" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:node-prompt-here_project:node-prompt-here:*:*:*:*:*:node.js:*:*", "versionEndIncluding": "1.0.1", "matchCriteriaId": "8CEE4CEE-7B8B-4466-BC01-F0146980824E" } ] } ] } ], "references": [ { "url": "https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115", "source": "report@snyk.io", "tags": [ "Exploit", "Third Party Advisory" ] }, { "url": "https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Exploit", "Third Party Advisory" ] } ] }