Description
An issue was discovered in the serialize-to-js package 0.5.0 for Node.js. Untrusted data passed into the deserialize() 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://github.com/commenthol/serialize-to-js/issues/1
http://www.securityfocus.com/bid/96223
Related Vulnerabilities
CVE-2022-40150 Vulnerability in maven package org.codehaus.jettison:jettison
CVE-2020-28279 Vulnerability in npm package flattenizer
CVE-2020-8840 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2020-26870 Vulnerability in maven package org.webjars.bowergithub.cure53:dompurify
CVE-2019-6284 Vulnerability in maven package org.webjars.npm:node-sass