Paper/Archive/CVE-2022-21191

CVE-2022-21191

snyk — Versions of the package global-modules-path before 3.0.0 are vulnerable to Command Injection due to missing input sanitization or other c…

Description · from the CVE record

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

ProductAffectedFixed inSource
global-modules-path< 3.0.03.0.0CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
snyk (CNA)7.4CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refsecurity.snyk.io/vuln/SNYK-JS-GLOBALMODULESPATH-3167973refgithub.com/lorenzomigliorero/npm-node-utils/blob/b55dd81c597db657c9751332bb2242403fd3e26b/index.js%23L186refgithub.com/rosen-vladimirov/global-modules-path/releases/tag/v3.0.0refgithub.com/rosen-vladimirov/global-modules-path/commit/edbdaff077ea0cf295b1469923c06bbccad3c180