Description
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Untrusted data passed into the unserialize() function can be exploited to achieve arbitrary code execution by passing a JavaScript Object with an Immediately Invoked Function Expression (IIFE).
Remediation
References
https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/
https://nodesecurity.io/advisories/311
http://www.securityfocus.com/bid/96225
http://packetstormsecurity.com/files/161356/Node.JS-Remote-Code-Execution.html
http://packetstormsecurity.com/files/163222/Node.JS-Remote-Code-Execution.html