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-36180 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2020-7749 Vulnerability in npm package osm-static-maps
CVE-2022-23305 Vulnerability in maven package log4j:log4j
CVE-2021-3629 Vulnerability in maven package io.undertow:undertow-core
CVE-2021-23358 Vulnerability in maven package org.webjars.bower:underscore