Live threats

All CVEs / Safe-eval Project

CVE-2017-16088Safe-eval Project Safe-eval

Critical 10.0 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Safe-eval.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
safe-eval_projectsafe-eval0.0.0
safe-eval_projectsafe-eval0.1.0
safe-eval_projectsafe-eval0.2.0
safe-eval_projectsafe-eval0.3.0

Official sources

References

Links published by the sources. Open them with care.