CVE-2023-26122
Safe-eval Project Safe-eval vulnerability
All versions of the package safe-eval are vulnerable to Sandbox Bypass due to improper input sanitization. The vulnerability is derived from prototype pollution exploitation. Exploiting this vulnerability might result in remote code execution ("RCE"). **Vulnerable functions:** __defineGetter__, stack(), toLocaleString(), propertyIsEnumerable.call(), valueOf().
Affected products
Safe-eval. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Safe-eval Project Safe-eval runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce · Exploit
- github.com/hacksparrow/safe-eval/issues/27 · Exploit
- github.com/hacksparrow/safe-eval/issues/31 · Exploit
- github.com/hacksparrow/safe-eval/issues/32 · Exploit
- github.com/hacksparrow/safe-eval/issues/33 · Exploit
- github.com/hacksparrow/safe-eval/issues/34 · Exploit
- github.com/hacksparrow/safe-eval/issues/35 · Exploit
- security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2023-26122
- cve.org/CVERecord?id=CVE-2023-26122
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.