Paper/Archive/CVE-2023-26122

CVE-2023-26122

snyk — All versions of the package safe-eval are vulnerable to Sandbox Bypass due to improper input sanitization.

Description · from the CVE record

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

ProductAffectedFixed inSource
safe-evalall versions–CNA

Scores by source

NVD10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
snyk (CNA)8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

refsecurity.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064refgithub.com/hacksparrow/safe-eval/issues/27refgist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879ccerefgithub.com/hacksparrow/safe-eval/issues/31refgithub.com/hacksparrow/safe-eval/issues/32refgithub.com/hacksparrow/safe-eval/issues/33refgithub.com/hacksparrow/safe-eval/issues/34refgithub.com/hacksparrow/safe-eval/issues/35