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.
{
"cna_assigner": "snyk",
"cwe_ids": [
"CWE-78"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21191.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:global-modules-path_project:global-modules-path:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.0.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "edbdaff077ea0cf295b1469923c06bbccad3c180"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v3.0.0",
"range": [
{
"fixed": "14ebe026feb5e3f22713c000be03537dc0a55613"
}
],
"source": "REFERENCES_TAG"
}
]
}