Description
Concatenating unsanitized user input in the `whereis` npm module < 0.4.1 allowed an attacker to execute arbitrary commands. The `whereis` module is deprecated and it is recommended to use the `which` npm module instead.
Remediation
References
https://hackerone.com/reports/319476
Related Vulnerabilities
CVE-2021-23700 Vulnerability in npm package merge-deep2
CVE-2023-30537 Vulnerability in maven package org.xwiki.platform:xwiki-platform-flamingo-theme-ui
CVE-2020-7788 Vulnerability in maven package org.webjars.npm:ini
CVE-2020-28052 Vulnerability in maven package org.bouncycastle:bcprov-debug-jdk15on