CVE-2020-7660 (High) detected in serialize-javascript-2.1.2.tgz
mend-bolt-for-github opened this issue · 0 comments
CVE-2020-7660 - High Severity Vulnerability
Vulnerable Library - serialize-javascript-2.1.2.tgz
Serialize JavaScript to a superset of JSON that includes regular expressions and functions.
Library home page: https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-2.1.2.tgz
Path to dependency file: /tmp/ws-scm/VuePress-GithubPages-TravisCI/package.json
Path to vulnerable library: /tmp/ws-scm/VuePress-GithubPages-TravisCI/node_modules/serialize-javascript/package.json
Dependency Hierarchy:
- vuepress-1.5.2.tgz (Root Library)
- core-1.5.2.tgz
- copy-webpack-plugin-5.1.1.tgz
- ❌ serialize-javascript-2.1.2.tgz (Vulnerable Library)
- copy-webpack-plugin-5.1.1.tgz
- core-1.5.2.tgz
Found in HEAD commit: 5ff4623a3079b85b394ebd8324e70ca5faaf9a58
Vulnerability Details
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
Publish Date: 2020-06-01
URL: CVE-2020-7660
CVSS 3 Score Details (8.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7660
Release Date: 2020-06-01
Fix Resolution: serialize-javascript - 3.1.0
Step up your Open Source Security Game with WhiteSource here