Path to dependency file: /tmp/ws-scm/AID/components/discovery/package.json
Path to vulnerable library: /tmp/ws-scm/AID/components/discovery/node_modules/serialize-javascript/package.json,/tmp/ws-scm/AID/components/discovery/node_modules/serialize-javascript/package.json
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
CVE-2020-7660 - Medium 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/AID/components/discovery/package.json
Path to vulnerable library: /tmp/ws-scm/AID/components/discovery/node_modules/serialize-javascript/package.json,/tmp/ws-scm/AID/components/discovery/node_modules/serialize-javascript/package.json
Dependency Hierarchy: - cli-service-4.4.1.tgz (Root Library) - copy-webpack-plugin-5.1.1.tgz - :x: **serialize-javascript-2.1.2.tgz** (Vulnerable Library)
Found in HEAD commit: eb95367bbd8c2dbc632fbc637292c392040afa49
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 (5.0)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: N/A - Attack Complexity: N/A - Privileges Required: N/A - User Interaction: N/A - Scope: N/A - Impact Metrics: - Confidentiality Impact: N/A - Integrity Impact: N/A - Availability Impact: N/A
For more information on CVSS3 Scores, click here.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