Open mend-bolt-for-github[bot] opened 2 years ago
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.
CVE-2020-7660 - High Severity Vulnerability
Vulnerable Libraries - serialize-javascript-1.9.1.tgz, serialize-javascript-1.6.1.tgz, serialize-javascript-1.5.0.tgz
serialize-javascript-1.9.1.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-1.9.1.tgz
Path to dependency file: /aws-node-typescript-sqs-standard/package.json
Path to vulnerable library: /aws-node-typescript-sqs-standard/node_modules/serialize-javascript/package.json,/aws-node-signed-uploads/node_modules/serialize-javascript/package.json
Dependency Hierarchy: - webpack-4.41.2.tgz (Root Library) - terser-webpack-plugin-1.4.1.tgz - :x: **serialize-javascript-1.9.1.tgz** (Vulnerable Library)
serialize-javascript-1.6.1.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-1.6.1.tgz
Path to dependency file: /aws-node-fullstack/frontend/package.json
Path to vulnerable library: /aws-node-fullstack/frontend/node_modules/serialize-javascript/package.json
Dependency Hierarchy: - react-scripts-2.1.8.tgz (Root Library) - terser-webpack-plugin-1.2.2.tgz - :x: **serialize-javascript-1.6.1.tgz** (Vulnerable Library)
serialize-javascript-1.5.0.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-1.5.0.tgz
Path to dependency file: /aws-node-github-check/package.json
Path to vulnerable library: /aws-node-github-check/node_modules/serialize-javascript/package.json
Dependency Hierarchy: - webpack-4.25.1.tgz (Root Library) - uglifyjs-webpack-plugin-1.3.0.tgz - :x: **serialize-javascript-1.5.0.tgz** (Vulnerable Library)
Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4
Found in base branch: master
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
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
Direct dependency fix Resolution (webpack): 4.41.3
Fix Resolution (serialize-javascript): 3.1.0
Direct dependency fix Resolution (react-scripts): 3.4.3
Fix Resolution (serialize-javascript): 3.1.0
Direct dependency fix Resolution (webpack): 4.26.0
Step up your Open Source Security Game with Mend here