{"id":"CVE-2023-26122","published":"2023-04-11T05:00:02Z","modified":"2025-02-07T16:56:45Z","title":"All versions of the package safe-eval are vulnerable to Sandbox Bypass due to improper input sanitization","vendor":null,"product":null,"tier":"tail","description":{"text":"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.\rExploiting this vulnerability might result in remote code execution (\"RCE\").\r\r**Vulnerable functions:**\r\r__defineGetter__, stack(), toLocaleString(), propertyIsEnumerable.call(),  valueOf().","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02758,"percentile":0.86975,"provenance":"source"},"cwes":[{"id":"CWE-265","name":"Sandbox Bypass"},{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064","tags":[]},{"url":"https://github.com/hacksparrow/safe-eval/issues/27","tags":[]},{"url":"https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce","tags":[]},{"url":"https://github.com/hacksparrow/safe-eval/issues/31","tags":[]},{"url":"https://github.com/hacksparrow/safe-eval/issues/32","tags":[]},{"url":"https://github.com/hacksparrow/safe-eval/issues/33","tags":[]},{"url":"https://github.com/hacksparrow/safe-eval/issues/34","tags":[]},{"url":"https://github.com/hacksparrow/safe-eval/issues/35","tags":[]}],"priority":{"score":23.6,"factors":[{"name":"EPSS percentile","points":17.39},{"name":"CVSS severity","points":6.16}]},"affectedVersions":[{"vendor":"n/a","product":"safe-eval","versions":["all versions"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-02-07T16:56:24.542670Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"safe-eval","vulnerableRanges":["<=0.4.2"],"patched":[],"from":["GHSA-79xf-67r4-q2jj"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-1223","exploited":false,"provenance":"source"}}