Vulnerability · Published Apr 11, 2023 · Assigned by snyk

CVE-2023-26122

High 8.8

In plain English

A high-severity prototype pollution in safe-eval. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities).

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)2.1%top 18.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
npmsafe-evalno fix listedGHSA-79xf-67r4-q2jj

Affected products (as reported)

VendorProductVersions
n/a safe-eval 0 – before *

Weakness: CWE-265, CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P

References