{"id":"GHSA-c9j3-wqph-5xx9","summary":"Command Injection in egg-scripts","details":"Versions of `egg-scripts` before 2.8.1 are vulnerable to command injection. This is only exploitable if a malicious argument is provided on the command line.\n\n\nExample:\n`eggctl start --daemon --stderr='/tmp/eggctl_stderr.log; touch /tmp/malicious'`\n\n\n## Recommendation\n\nUpdate to version 2.8.1 or later.","aliases":["CVE-2018-3786"],"modified":"2023-11-08T04:00:20.228557Z","published":"2018-09-17T20:43:34Z","database_specific":{"cwe_ids":["CWE-77","CWE-78"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:30:55Z","nvd_published_at":"2018-08-24T20:29:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3786"},{"type":"WEB","url":"https://github.com/eggjs/egg-scripts/pull/26"},{"type":"WEB","url":"https://github.com/eggjs/egg-scripts/commit/b98fd03d1e3aaed68004b881f0b3d42fe47341dd"},{"type":"WEB","url":"https://hackerone.com/reports/388936"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c9j3-wqph-5xx9"},{"type":"WEB","url":"https://github.com/eggjs/egg-scripts/blob/2.8.1/History.md"},{"type":"WEB","url":"https://www.npmjs.com/advisories/694"}],"affected":[{"package":{"name":"egg-scripts","ecosystem":"npm","purl":"pkg:npm/egg-scripts"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.8.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/09/GHSA-c9j3-wqph-5xx9/GHSA-c9j3-wqph-5xx9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}