{"id":"GHSA-rffp-mc78-wjf7","aliases":["GHSA-rffp-mc78-wjf7"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in cocos-utils","summary":"All versions of `cocos-utils` are vulnerable to Remote Code Execution. The `unzip()` function concatenates user input to `exec()` which may allow attackers to execute arbitrary commands  on the server.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"All versions of `cocos-utils` are vulnerable to Remote Code Execution. The `unzip()` function concatenates user input to `exec()` which may allow attackers to execute arbitrary commands  on the server.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","format":"markdown","source":"ghsa"}],"published":"2020-09-02T18:26:48.000Z","modified":"2020-08-31T18:37:21.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"npm","package":"cocos-utils","purl":"pkg:npm/cocos-utils","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/829","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rffp-mc78-wjf7","url":"https://github.com/advisories/GHSA-rffp-mc78-wjf7","licence":"CC-BY-4.0","modified":"2020-08-31T18:37:21.000Z"}],"updatedAt":"2026-11-25T22:56:46.458Z"}