{"id":"GHSA-wjr4-2jgw-hmv8","summary":"Command Injection in whereis","details":"Versions of `whereis` before 0.4.1 are vulnerable to command injection if untrusted user input is passed into `whereis`.\n\n\n## Recommendation\n\nUpdate to version 0.4.1 or later.","aliases":["CVE-2018-3772"],"modified":"2023-11-08T04:00:19.633112Z","published":"2018-07-31T18:28:53Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-06-16T22:00:43Z","nvd_published_at":null,"cwe_ids":["CWE-77"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3772"},{"type":"WEB","url":"https://github.com/vvo/node-whereis/commit/0f64e3780235004fb6e43bfd153ea3e0e210ee2b"},{"type":"WEB","url":"https://hackerone.com/reports/319476"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wjr4-2jgw-hmv8"},{"type":"WEB","url":"https://www.npmjs.com/advisories/604"}],"affected":[{"package":{"name":"whereis","ecosystem":"npm","purl":"pkg:npm/whereis"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-wjr4-2jgw-hmv8/GHSA-wjr4-2jgw-hmv8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}