{"id":"GHSA-rffp-mc78-wjf7","aliases":[],"status":"published","title":"Command Injection in cocos-utils","description":"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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77"],"published":"2020-09-02T18:26:48Z","modified":"2023-01-09T05:03:46Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"cocos-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"npm","package":"cocos-utils","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/829","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rffp-mc78-wjf7"}],"sources":{"ghsa":[{"id":"GHSA-rffp-mc78-wjf7","title":"Command Injection in cocos-utils","description":"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.","status":"published","published":"2020-09-02T18:26:48Z","modified":"2023-01-09T05:03:46Z","cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:06.317379Z"}],"osv":[{"id":"GHSA-rffp-mc78-wjf7","title":"Command Injection in cocos-utils","description":"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.","status":"published","published":"2020-09-02T18:26:48Z","modified":"2020-08-31T18:37:21Z","cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:55.877614Z"}]}}
