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-2021-3794 Vulnerability in npm package @vuelidate/validators
CVE-2017-1000404 Vulnerability in maven package se.diabol.jenkins.pipeline:delivery-pipeline-plugin
CVE-2021-21350 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2021-23784 Vulnerability in npm package tempura
CVE-2010-2076 Vulnerability in maven package org.apache.cxf:cxf-bundle-jaxrs