GHSA-hgch-jjmr-gp7w

Suggest an improvement
Source
https://github.com/advisories/GHSA-hgch-jjmr-gp7w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/10/GHSA-hgch-jjmr-gp7w/GHSA-hgch-jjmr-gp7w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hgch-jjmr-gp7w
Aliases
Published
2019-10-17T18:27:30Z
Modified
2025-01-14T07:14:40.299280Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Sandbox Breakout / Arbitrary Code Execution in safer-eval
Details

Versions of safer-eval before 1.3.2 are vulnerable to Sandbox Escape leading to Remote Code Execution. A payload using constructor properties can escape the sandbox and execute arbitrary code.

Recommendation

Upgrade to version 1.3.2.

Database specific
{
    "nvd_published_at": "2019-10-15T15:15:00Z",
    "github_reviewed_at": "2019-10-16T15:10:50Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-94"
    ]
}
References

Affected packages

npm / safer-eval

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.2