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-0613 Vulnerability in npm package urijs
CVE-2020-13128 Vulnerability in maven package com.googlecode.gwtupload:gwtupload-project
CVE-2016-5005 Vulnerability in maven package org.apache.archiva:archiva
CVE-2020-11007 Vulnerability in maven package com.shopizer:sm-core-model
CVE-2023-43123 Vulnerability in maven package org.apache.storm:storm-server