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-2020-13956 Vulnerability in maven package org.apache.httpcomponents:httpclient
CVE-2023-49398 Vulnerability in maven package com.jfinal:jfinal
CVE-2022-31193 Vulnerability in maven package org.dspace:dspace-jspui
CVE-2020-7743 Vulnerability in maven package org.webjars.npm:mathjs
CVE-2020-10714 Vulnerability in maven package org.wildfly.security:wildfly-elytron