Categories
CVE-2019-10759

Sandbox Breakout / Arbitrary Code Execution in safer-eval

Summary

Sandbox Breakout / Arbitrary Code Execution in safer-eval

Original description

The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

Affected packages

npm safer-eval
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.4"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details