### [CVE-2018-3772](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3772) ![](https://img.shields.io/static/v1?label=Product&message=whereis&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Command%20Injection%20-%20Generic%20(CWE-77)&color=brighgreen) ### 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. ### POC #### Reference - https://hackerone.com/reports/319476 - https://hackerone.com/reports/319476 #### Github - https://github.com/ossf-cve-benchmark/CVE-2018-3772