{"id":"CVE-2018-3772","published":"2018-07-30T18:00:00Z","modified":"2024-09-17T02:26:55Z","title":"Concatenating unsanitized user input in the `whereis` npm module < 0.4.1 allowed an attacker to execute arbitrary…","vendor":"https://github.com/vvo","product":"whereis","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0276,"percentile":0.86613,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://hackerone.com/reports/319476","tags":["x_refsource_MISC"]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":17.32}]},"vendorSlug":"https-github-com-vvo","affectedVersions":[{"vendor":"https://github.com/vvo","product":"whereis","versions":[">= 0.4.1"]}],"affected":[{"ecosystem":"npm","package":"whereis","vulnerableRanges":["<0.4.1"],"patched":["0.4.1"],"from":["GHSA-wjr4-2jgw-hmv8"],"provenance":"source"}],"summary":{"text":"The whereis npm module (versions before 0.4.1), published by vvo, contains a command injection flaw in which user input is concatenated into a command string without sanitization. An attacker who can supply input to the affected code path can execute arbitrary commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:19Z"},"euvd":{"id":"EUVD-2018-0333","exploited":false,"provenance":"source"}}