{"cve":"CVE-2018-3772","nvd":{"published":"2018-07-30T18:29:00.780","modified":"2026-06-17T01:57:48.137","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-20","CWE-77"],"references":["https://hackerone.com/reports/319476","https://hackerone.com/reports/319476"],"products":["whereis_project:whereis"],"source":"nvd","synced_at":"2026-10-19T20:52:03.425131697+00:00"},"epss":{"cve":"CVE-2018-3772","score":0.0276,"percentile":0.86266,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wjr4-2jgw-hmv8","url":"https://osv.dev/vulnerability/GHSA-wjr4-2jgw-hmv8","summary":"Command Injection in whereis","modified":"2023-11-08T04:00:19.633112Z","packages":[{"ecosystem":"npm","name":"whereis","purl":"pkg:npm/whereis","ranges":["<0.4.1"],"fixed":["0.4.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}