Skip to content

CVE-2023-26122 safe-eval vulnerable to Sandbox Bypass due to improper input sanitization

CriticalCVSS 10.0 EPSS 2.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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().

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm safe-eval(npm) <= 0.4.2 after 0.4.2 Fixed
safe-eval project safe-eval <= 0.4.1 after 0.4.1 Fixed

Affected products

ProductAffected versionsFixed in
npm safe-eval(npm) <= 0.4.2 No fix listed
safe-eval project safe-eval <= 0.4.1 No fix listed

References