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-2020-25711 Vulnerability in maven package org.infinispan:infinispan-server-runtime
CVE-2020-7779 Vulnerability in npm package djvalidator
CVE-2022-21122 Vulnerability in npm package metacalc
CVE-2021-25949 Vulnerability in npm package set-getter
CVE-2021-23341 Vulnerability in maven package org.webjars:prismjs