CVE-2023-26122
CRITICAL10.0EPSS 8.1%safe-eval vulnerable to Sandbox Bypass due to improper input sanitization
Published: 4/11/2023Modified: 11/8/2023
Also known as:GHSA-79xf-67r4-q2jj
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().
Affected packages (1)
- npm/safe-evalfrom 0, <= 0.4.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
References (10)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-26122
- PATCHhttps://github.com/hacksparrow/safe-eval
- WEBhttps://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce
- WEBhttps://github.com/hacksparrow/safe-eval/issues/27
- WEBhttps://github.com/hacksparrow/safe-eval/issues/31
- WEBhttps://github.com/hacksparrow/safe-eval/issues/32
- WEBhttps://github.com/hacksparrow/safe-eval/issues/33
- WEBhttps://github.com/hacksparrow/safe-eval/issues/34
- WEBhttps://github.com/hacksparrow/safe-eval/issues/35
- WEBhttps://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064