GHSA-rffp-mc78-wjf7

Suggest an improvement
Source
https://github.com/advisories/GHSA-rffp-mc78-wjf7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-rffp-mc78-wjf7/GHSA-rffp-mc78-wjf7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rffp-mc78-wjf7
Published
2020-09-02T18:26:48Z
Modified
2020-08-31T18:37:21Z
Summary
Command Injection in cocos-utils
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-77"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:37:21Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / cocos-utils

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-rffp-mc78-wjf7/GHSA-rffp-mc78-wjf7.json"