Skip to content
OpenAdvisories
Critical · 10.0 Public exploit CVE-2017-16088 EUVD-2018-0337GHSA-ww6v-677g-p656

Sandbox Breakout in safe-eval

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

Description

The safe-eval module describes itself as a safer version of eval. By accessing the object constructors, un-sanitized user input can access the entire standard library and effectively break out of the sandbox.

Affected products

VendorProductAffectedFixed
HackerOne safe-eval node module All versions —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm safe-eval <= 0.3.0 — GHSA-ww6v-677g-p656

References