{"id":"CVE-2020-7795","published":"2022-08-02T13:27:05Z","modified":"2024-09-16T23:16:27Z","title":"Command Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03968,"percentile":0.90711,"provenance":"source"},"cwes":[],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/get-npm-package-version/v/1.0.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17","tags":["x_refsource_MISC"]},{"url":"https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2dec","tags":["x_refsource_MISC"]}],"priority":{"score":23.3,"factors":[{"name":"EPSS percentile","points":18.14},{"name":"CVSS severity","points":5.11}]},"affectedVersions":[{"vendor":"n/a","product":"get-npm-package-version","versions":[">= unspecified, < 1.0.7"]}],"affected":[{"ecosystem":"npm","package":"get-npm-package-version","vulnerableRanges":["<1.0.7"],"patched":["1.0.7"],"from":["GHSA-4h66-vghf-xg5x"],"provenance":"source"}],"summary":{"text":"The get-npm-package-version npm package, versions before 1.0.7, contains a command injection flaw in the main function of its index.js file. An attacker who can supply input to that function can inject operating system commands, and the attack vector is network-reachable with low complexity and requires no privileges or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:21Z"},"euvd":{"id":"EUVD-2022-6477","exploited":false,"provenance":"source"}}