Arbitrary Code Execution

Affecting safer-eval package, versions <1.3.4

Do your applications use this vulnerable package? Test your applications

Overview

safer-eval is a safer approach for eval in node and browser.

Affected versions of this package are vulnerable to Arbitrary Code Execution. A payload using constructor properties can escape the sandbox and execute arbitrary code.

Remediation

Upgrade safer-eval to version 1.3.4 or higher.

References

CVSS Score

9.9
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    Low
  • User Interaction
    None
  • Scope
    Changed
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
  • Remediation Level
    Official
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/RL:O
Credit
Beny Zeltser
CVE
CVE-2019-10759
CWE
CWE-94
Snyk ID
SNYK-JS-SAFEREVAL-173772
Disclosed
08 Mar, 2019
Published
11 Mar, 2019