GitHub Advisoryadvisory · npm
GHSA-79xf-67r4-q2jj safe-eval vulnerable to Sandbox Bypass due to improper input sanitization
CRITICAL
Official page ↗
- Aliases
- CVE-2023-26122
- Ecosystem
- npm
- Packages
- safe-eval
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-1321
- Reviewed
- 2023-04-11
Affected packages
• npm safe-eval: <= 0.4.2 (no fix yet)
Description
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().
Related
Alias · CVE (1)
- CVE-2023-26122 All versions of the package safe-eval are vulnerable to Sandbox Bypass due to improper input sanitization. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26122 advisory
- https://github.com/hacksparrow/safe-eval/issues/27 web
- https://github.com/hacksparrow/safe-eval/issues/31 web
- https://github.com/hacksparrow/safe-eval/issues/32 web
- https://github.com/hacksparrow/safe-eval/issues/33 web
- https://github.com/hacksparrow/safe-eval/issues/34 web
- https://github.com/hacksparrow/safe-eval/issues/35 web
- https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce web
- https://github.com/hacksparrow/safe-eval package
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064 web