critical10.0
CVE-2023-26122
safe-eval vulnerable to Sandbox Bypass due to improper input sanitization
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | safe-eval | <= 0.4.2 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Safe-Eval Project | Safe-Eval | through 0.4.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce
- https://github.com/hacksparrow/safe-eval/issues/27
- https://github.com/hacksparrow/safe-eval/issues/31
- https://github.com/hacksparrow/safe-eval/issues/32
- https://github.com/hacksparrow/safe-eval/issues/33
- https://github.com/hacksparrow/safe-eval/issues/34
- https://github.com/hacksparrow/safe-eval/issues/35
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064
- https://github.com/advisories/GHSA-79xf-67r4-q2jj
- https://nvd.nist.gov/vuln/detail/CVE-2023-26122