CVE-2019-10759
Sandbox Breakout / Arbitrary Code Execution in safer-eval
9.9
CRITICAL
CVSS 3.1
EPSS 0.97%
Description
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.
How to fix CVE-2019-10759
To remediate CVE-2019-10759, upgrade the affected package to a fixed version below.
- —upgrade to 1.3.4 or later
Is CVE-2019-10759 being exploited?
Low — EPSS is 1.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 1.3.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |