CVE-2017-16088Safe-eval Project Safe-eval
Critical 10.0 No auth needed
Follow: this CVE · Safe-eval Project · Safe-eval Project Safe-eval We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.0
- 10.0
- EPSS
- 3.4% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Jun 7, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-610
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Safe-eval.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | safe-eval |
≤ 0.3.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-ww6v-677g-p656). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| safe-eval_project | safe-eval | 0.0.0 |
| safe-eval_project | safe-eval | 0.1.0 |
| safe-eval_project | safe-eval | 0.2.0 |
| safe-eval_project | safe-eval | 0.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Third Party Advisory
- nodesecurity.io Third Party Advisory