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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| https://github.com/vvo | whereis | >= 0.4.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | whereis | < 0.4.1 | 0.4.1 | GHSA-wjr4-2jgw-hmv8 |