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
http://packetstormsecurity.com/files/161356/Node.JS-Remote-Code-Execution.html
http://packetstormsecurity.com/files/163222/Node.JS-Remote-Code-Execution.html
http://www.securityfocus.com/bid/96225
https://nodesecurity.io/advisories/311
https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/
Related Vulnerabilities
CVE-2022-31129 Vulnerability in maven package org.webjars.bower:momentjs
CVE-2020-28459 Vulnerability in npm package markdown-it-decorate
CVE-2022-43415 Vulnerability in maven package org.jenkins-ci.plugins:repo
CVE-2018-13339 Vulnerability in maven package org.webjars.bower:angular-redactor
CVE-2023-47325 Vulnerability in maven package org.silverpeas.core:silverpeas-core-web