CVE-2019-10759 – safer-eval
Package
Manager: npm
Name: safer-eval
Vulnerable Version: >=0 <1.3.4
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
EPSS: 0.01018 pctl0.76346
Details
Sandbox Breakout / Arbitrary Code Execution in safer-eval Versions of `safer-eval` prior to 1.3.4 are vulnerable to Sandbox Escape leading to Remote Code Execution. A payload using constructor properties can escape the sandbox and execute arbitrary code. For example, evaluating he string `console.constructor.constructor('return process')().env` prints `process.env` to the console. ## Recommendation Upgrade to version 1.3.4 or later.
Metadata
Created: 2019-10-21T21:58:34Z
Modified: 2021-07-27T22:20:06Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/10/GHSA-r3x4-wr4h-pw33/GHSA-r3x4-wr4h-pw33.json
CWE IDs: ["CWE-94"]
Alternative ID: GHSA-r3x4-wr4h-pw33
Finding: F422
Auto approve: 1