10.0crit
CVE-2017-16088
Sandbox Breakout in safe-eval
Also known as GHSA-ww6v-677g-p656
Published 8 y ago · modified 4 mo ago · JSON
CVSS
10.0
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
3.4%
percentile 89%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
3.44% probability of exploitation in the next 30 days, higher than 89% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 10.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| GitHub | 3.0 | 10.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | safe-eval | <=0.3.0 | no fix listed |
Affected products
- HackerOne safe-eval node module
Classification
- Weakness
- CWE-610 Externally Controlled Reference to a Resource in Another Sphere
References
- github.com /patriksimek/vm2/issues/59 · x_refsource_MISC, x_transferred
- github.com /hacksparrow/safe-eval/issues/5 · x_refsource_MISC, x_transferred
- nodesecurity.io /advisories/337 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-16088 · advisory
- github.com /hacksparrow/safe-eval/pull/13 · web
- github.com /advisories/GHSA-ww6v-677g-p656 · advisory
- npmjs.com /advisories/337 · web
Sources
- CVE List: CVE-2017-16088
- GitHub Advisory: GHSA-ww6v-677g-p656
- NVD: CVE-2017-16088
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.