Vulnerability 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().
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Safe-Eval Project | Safe-Eval | <= 0.4.1 |
Related Weaknesses (CWE)
References
- https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cceExploitThird Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/27ExploitIssue TrackingThird Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/31ExploitIssue TrackingThird Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/32ExploitIssue TrackingThird Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/33ExploitIssue TrackingThird Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/34ExploitIssue TrackingThird Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/35ExploitIssue TrackingThird Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064ExploitIssue TrackingThird Party Advisory
- https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cceExploitThird Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/27ExploitIssue TrackingThird Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/31ExploitIssue TrackingThird Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/32ExploitIssue TrackingThird Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/33ExploitIssue TrackingThird Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/34ExploitIssue TrackingThird Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/35ExploitIssue TrackingThird Party Advisory
FAQ
What is CVE-2023-26122?
CVE-2023-26122 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 vulnerabi...
How severe is CVE-2023-26122?
CVE-2023-26122 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-26122?
Check the references section above for vendor advisories and patch information. Affected products include: Safe-Eval Project Safe-Eval.