{ "schema_version": "1.4.0", "id": "GHSA-c9j3-wqph-5xx9", "modified": "2023-02-03T20:45:07Z", "published": "2018-09-17T20:43:34Z", "aliases": [ "CVE-2018-3786" ], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "egg-scripts" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "2.8.1" } ] } ] } ], "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" } ], "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" } }