Arbitrary Code Injection Affecting mobile-icon-resizer package, versions <0.4.3


0.0
medium

Snyk CVSS

    Attack Complexity Low

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 ID npm:mobile-icon-resizer:20160408
  • published 1 May 2017
  • disclosed 8 Apr 2016
  • credit Cristian-Alexandru Staicu, Michael Pradel, Ben Livshits

Introduced: 8 Apr 2016

CVE NOT AVAILABLE CWE-94 Open this link in a new tab

How to fix?

Upgrade mobile-icon-resizer to version 0.4.3 or higher.

Overview

mobile-icon-resizer is a tool used to resize iOS and Android application icons in batch.

Affected versions of the package are vulnerable to Arbitrary Code Injection due to unsafe use of the eval() function. Node.js provides the eval() function by default, and is used to translate strings into Javascript code. An attacker can craft a malicious payload to inject arbitrary commands.