Description
The safe-eval module describes itself as a safer version of eval. By accessing the object constructors, un-sanitized user input can access the entire standard library and effectively break out of the sandbox.
Remediation
References
https://github.com/hacksparrow/safe-eval/issues/5
https://github.com/patriksimek/vm2/issues/59
https://nodesecurity.io/advisories/337
Related Vulnerabilities
CVE-2019-10797 Vulnerability in maven package org.wso2.transport.http:org.wso2.transport.http.netty
CVE-2023-37946 Vulnerability in maven package org.openshift.jenkins:openshift-login
CVE-2023-34455 Vulnerability in maven package org.xerial.snappy:snappy-java
CVE-2021-23463 Vulnerability in maven package com.h2database:h2
CVE-2020-5258 Vulnerability in maven package org.webjars.bowergithub.dojo:dojo