dhis2-club-tanzania / dhis2-period

Typescript library for period services for DHIS2
GNU Lesser General Public License v3.0
0 stars 3 forks source link

CVE-2020-7660 (High) detected in serialize-javascript-1.9.1.tgz #19

Closed mend-bolt-for-github[bot] closed 3 years ago

mend-bolt-for-github[bot] commented 4 years ago

CVE-2020-7660 - High Severity Vulnerability

Vulnerable Library - 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: /tmp/ws-scm/dhis2-period/package.json

Path to vulnerable library: /tmp/ws-scm/dhis2-period/node_modules/serialize-javascript/package.json

Dependency Hierarchy: - copy-webpack-plugin-5.0.4.tgz (Root Library) - :x: **serialize-javascript-1.9.1.tgz** (Vulnerable Library)

Found in HEAD commit: 4c2d2a0e9dfecc55cecd27c3a2b67ecaa677ab19

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


Step up your Open Source Security Game with WhiteSource here

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.76. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.