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
http://www.securityfocus.com/bid/96223
https://github.com/commenthol/serialize-to-js/issues/1
https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/
Related Vulnerabilities
CVE-2020-26217 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2020-11996 Vulnerability in maven package org.apache.tomcat:tomcat-coyote
CVE-2022-1243 Vulnerability in maven package org.webjars.bower:urijs
CVE-2018-25079 Vulnerability in maven package org.webjars.npm:is-url
CVE-2019-10288 Vulnerability in maven package de.e-nexus:jabber-server-plugin