# GHSA-rffp-mc78-wjf7: Command Injection in cocos-utils

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-02T18:26:48.000Z
- Modified: 2020-08-31T18:37:21.000Z
- Weaknesses: CWE-77

## 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.


## Recommendation

No fix is currently available. Consider using an alternative module until a fix is made available.

(As written by GitHub Advisory Database.)

## Affected

- cocos-utils (npm): all versions

## References

- <https://www.npmjs.com/advisories/829> (web)

## Sources

- GitHub Advisory Database: [GHSA-rffp-mc78-wjf7](https://github.com/advisories/GHSA-rffp-mc78-wjf7), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-rffp-mc78-wjf7 · Whole record: https://cve.day/GHSA-rffp-mc78-wjf7.json · Rebuilt by cve.day 2026-11-25T22:56:46.458Z
