Arbitrary Code Execution Affecting cocos-utils package, versions *


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-COCOSUTILS-460152
  • published22 Aug 2019
  • disclosed23 Apr 2019
  • creditFrank Tip

Introduced: 23 Apr 2019

CVE NOT AVAILABLE CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for cocos-utils.

Overview

cocos-utils is a tool to support NPM branch of Cocos2d-html5 only, aims to help developers using cocos2d-html5 easily.

Affected versions of this package are vulnerable to Arbitrary Code Execution. The unzip() function concatenates user input to exec() which may allow attackers to execute arbitrary commands.

References

CVSS Scores

version 3.1