{"id":"CVE-2020-7795","url":"https://www.cyber-defence.io/tools/cve/CVE-2020-7795","generatedAt":"2026-10-27T23:26:38.976Z","title":"The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.","description":"The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.","published":"2022-08-02T14:15:10.000Z","lastModified":"2026-06-17T03:25:28.000Z","status":"Modified","sourceIdentifier":"report@snyk.io","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-77"],"affected":["get-npm-package-version project/get-npm-package-version"],"epss":{"score":0.03968,"percentile":0.90388,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (3.97%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17","tags":["Broken Link"],"source":"report@snyk.io"},{"url":"https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2dec","tags":["Patch","Third Party Advisory"],"source":"report@snyk.io"},{"url":"https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390","tags":["Exploit","Patch","Third Party Advisory"],"source":"report@snyk.io"},{"url":"https://www.npmjs.com/package/get-npm-package-version/v/1.0.6","tags":["Release Notes","Third Party Advisory"],"source":"report@snyk.io"},{"url":"https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17","tags":["Broken Link"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2dec","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390","tags":["Exploit","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.npmjs.com/package/get-npm-package-version/v/1.0.6","tags":["Release Notes","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-7795","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}