{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-21191","published":"2023-01-13T05:15:19.150000Z","last_modified":"2026-06-17T04:25:42.830000Z","status":"Modified","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-78","CWE-77"],"cpes":[{"criteria":"cpe:2.3:a:global-modules-path_project:global-modules-path:*:*:*:*:*:*:*:*","part":"a","vendor":"global-modules-path_project","product":"global-modules-path","version_end_excluding":"3.0.0"}],"cpes_truncated":false,"vendors":["global-modules-path_project"],"products":["global-modules-path_project/global-modules-path"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.02768,"percentile":0.87065,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-vvj3-85vf-fgmw","ecosystem":"npm","name":"global-modules-path","purl":"pkg:npm/global-modules-path","ranges":[{"introduced":"0","fixed":"3.0.0"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-21191/","html_en":"/en/cve/CVE-2022-21191/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21191","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21191"},"untrusted":{"vendor_name":"Global-modules-path Project","product_name":"Global-modules-path","desc_en":"Versions of the package global-modules-path before 3.0.0 are vulnerable to Command Injection due to missing input sanitization or other checks and sandboxes being employed to the getPath  function.","affected":[],"references":[{"url":"https://github.com/lorenzomigliorero/npm-node-utils/blob/b55dd81c597db657c9751332bb2242403fd3e26b/index.js%23L186","tags":["Broken Link","Third Party Advisory"]},{"url":"https://github.com/rosen-vladimirov/global-modules-path/commit/edbdaff077ea0cf295b1469923c06bbccad3c180","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/rosen-vladimirov/global-modules-path/releases/tag/v3.0.0","tags":["Third Party Advisory"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-GLOBALMODULESPATH-3167973","tags":["Third Party Advisory"]}]}}