Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWhnY2gtamptci1ncDd3
Sandbox Breakout / Arbitrary Code Execution in safer-eval
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.
Permalink: https://github.com/advisories/GHSA-hgch-jjmr-gp7wJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWhnY2gtamptci1ncDd3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 5 years ago
Updated: almost 2 years ago
CVSS Score: 10.0
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Percentage: 0.00124
EPSS Percentile: 0.47521
Identifiers: GHSA-hgch-jjmr-gp7w, CVE-2019-10760
References:
- https://nvd.nist.gov/vuln/detail/CVE-2019-10760
- https://snyk.io/vuln/SNYK-JS-SAFEREVAL-473029
- https://github.com/commenthol/safer-eval/commit/1c29f6a6e304fb650c05056e217e457a0d2cc3c5
- https://www.npmjs.com/advisories/787
- https://github.com/advisories/GHSA-hgch-jjmr-gp7w
Blast Radius: 42.5
Affected Packages
npm:safer-eval
Dependent packages: 24Dependent repositories: 17,794
Downloads: 31,470 last month
Affected Version Ranges: < 1.3.2
Fixed in: 1.3.2
All affected versions: 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1
All unaffected versions: 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6