Skip to content
OpenAdvisories
High GHSA-rffp-mc78-wjf7

Command Injection in cocos-utils

Published Sep 2, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm cocos-utils all versions — GHSA-rffp-mc78-wjf7

References