Arbitrary Code Injection Affecting mixin-pro Open this link in a new tab package, versions <0.6.7
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:mixin-pro:20160407
-
published
1 May 2017
-
disclosed
7 Apr 2016
-
credit
Cristian-Alexandru Staicu, Michael Pradel, Ben Livshits
Introduced: 7 Apr 2016
CWE-94 Open this link in a new tabHow to fix?
Upgrade mixin-pro
to version 0.6.7 or higher.
Overview
mixin-pro
is a Javascript multi-inheritance with mixin for code reuse.
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.