Skip to content

Command Injection in cocos-utils

High severity GitHub Reviewed Published Sep 2, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm cocos-utils (npm)

Affected versions

>= 0

Patched versions

None

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.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 2, 2020
Last updated Jan 9, 2023

Severity

High

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-rffp-mc78-wjf7

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.