{"id":"CVE-2022-21191","published":"2023-01-13T05:00:01Z","modified":"2025-04-04T14:55:31Z","title":"Versions of the package global-modules-path before 3.0.0 are vulnerable to Command Injection due to missing input…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.\r\r","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01535,"percentile":0.75465,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-GLOBALMODULESPATH-3167973","tags":[]},{"url":"https://github.com/lorenzomigliorero/npm-node-utils/blob/b55dd81c597db657c9751332bb2242403fd3e26b/index.js%23L186","tags":[]},{"url":"https://github.com/rosen-vladimirov/global-modules-path/releases/tag/v3.0.0","tags":[]},{"url":"https://github.com/rosen-vladimirov/global-modules-path/commit/edbdaff077ea0cf295b1469923c06bbccad3c180","tags":[]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":15.09},{"name":"CVSS severity","points":5.18}]},"affectedVersions":[{"vendor":"n/a","product":"global-modules-path","versions":["< 3.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-04T14:54:56.981712Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"global-modules-path","vulnerableRanges":["<3.0.0"],"patched":["3.0.0"],"from":["GHSA-vvj3-85vf-fgmw"],"provenance":"source"}],"summary":{"text":"The npm package global-modules-path, in versions before 3.0.0, has a command injection flaw in its getPath function, which lacks input sanitization and other checks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:48Z"},"euvd":{"id":"EUVD-2023-0565","exploited":false,"provenance":"source"}}