Description
The static-eval module is intended to evaluate statically-analyzable expressions. In affected versions, untrusted user input is able to access the global function constructor, effectively allowing arbitrary code execution.
Remediation
References
https://nodesecurity.io/advisories/548
https://maustin.net/articles/2017-10/static_eval
https://github.com/substack/static-eval/pull/18
Related Vulnerabilities
CVE-2022-39299 Vulnerability in npm package @node-saml/node-saml
CVE-2020-15930 Vulnerability in npm package joplin
CVE-2021-37695 Vulnerability in maven package org.webjars.npm:ckeditor4
CVE-2021-23567 Vulnerability in npm package colors
CVE-2021-45457 Vulnerability in maven package org.apache.kylin:kylin-server