Skip to content
OpenAdvisories
Medium CVE-2017-16226 EUVD-2018-0370GHSA-5mjw-6jrh-hvfq

Sandbox Breakout / Arbitrary Code Execution in static-eval

Published Jun 7, 2018 · Updated Sep 16, 2024 · Assigned by hackerone

Description

The static-eval module is intended to evaluate statically-analyzable expressions. In affected versions, untrusted user input is able to access the global function constructor, effectively allowing arbitrary code execution.

Affected products

VendorProductAffectedFixed
HackerOne static-eval node module node module <=1.1.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm static-eval < 2.0.0 2.0.0 GHSA-5mjw-6jrh-hvfq

References