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://github.com/substack/static-eval/pull/18
https://maustin.net/articles/2017-10/static_eval
https://nodesecurity.io/advisories/548
Related Vulnerabilities
CVE-2023-25762 Vulnerability in maven package org.jenkins-ci.plugins:pipeline-build-step
CVE-2022-38752 Vulnerability in maven package org.yaml:snakeyaml
CVE-2023-4863 Vulnerability in npm package electron
CVE-2020-36732 Vulnerability in maven package org.webjars.npm:crypto-js
CVE-2023-44270 Vulnerability in maven package org.webjars.npm:postcss