{"id":"GHSA-cff4-rrq6-h78w","summary":"Command Injection in command-exists","details":"Versions of `command-exists` before 1.2.4 are vulnerable to command injection. This is exploitable if user input is provided to this module.\n\n\n## Recommendation\n\nUpdate to version 1.2.4 or later.","modified":"2020-08-31T18:31:41Z","published":"2019-06-03T17:31:26Z","database_specific":{"cwe_ids":["CWE-77"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2019-06-03T17:28:56Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/mathisonian/command-exists/commit/7ca91ba71604df6817a28c93d7776af9c49c431a"},{"type":"WEB","url":"https://hackerone.com/reports/324453"},{"type":"WEB","url":"https://github.com/mathisonian/command-exists/blob/v1.2.2/lib/command-exists.js#L49-L94"},{"type":"WEB","url":"https://www.npmjs.com/advisories/659"}],"affected":[{"package":{"name":"command-exists","ecosystem":"npm","purl":"pkg:npm/command-exists"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-cff4-rrq6-h78w/GHSA-cff4-rrq6-h78w.json"}}],"schema_version":"1.9.0"}