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-2022-24818 Vulnerability in maven package org.geotools:gt-metadata
CVE-2023-46493 Vulnerability in npm package @evershop/evershop
CVE-2021-27290 Vulnerability in npm package ssri
CVE-2021-21363 Vulnerability in maven package io.swagger:swagger-generator
CVE-2021-21122 Vulnerability in maven package org.webjars.npm:electron