GitHub Advisoryadvisory · npm
GHSA-rffp-mc78-wjf7 Command Injection in cocos-utils
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- cocos-utils
- Severity
- High
- Weaknesses
- CWE-77
- Reviewed
- 2020-08-31
Affected packages
• npm cocos-utils: all versions (no fix yet)
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.
Related
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness