CVE-2023-26122: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
(updated )
All versions of the package safe-eval is 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().
References
- gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce
- github.com/advisories/GHSA-79xf-67r4-q2jj
- github.com/hacksparrow/safe-eval/issues/27
- github.com/hacksparrow/safe-eval/issues/31
- github.com/hacksparrow/safe-eval/issues/32
- github.com/hacksparrow/safe-eval/issues/33
- github.com/hacksparrow/safe-eval/issues/34
- github.com/hacksparrow/safe-eval/issues/35
- nvd.nist.gov/vuln/detail/CVE-2023-26122
- security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064
Detect and mitigate CVE-2023-26122 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →