gmright2 / DEFOLD_Gmright_INLINE

MIT License
0 stars 5 forks source link

CVE-2018-21270 (Medium) detected in stringstream-0.0.5.tgz #103

Open mend-bolt-for-github[bot] opened 3 years ago

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

CVE-2018-21270 - Medium Severity Vulnerability

Vulnerable Library - stringstream-0.0.5.tgz

Encode and decode streams into string streams

Library home page: https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz

Path to dependency file: /Gmright/Milestones/Gmright-market/cordova-plugin-purchase-master/cordova-plugin-purchase-master/package.json

Path to vulnerable library: /Gmright/Milestones/Gmright-market/cordova-plugin-purchase-master/cordova-plugin-purchase-master/node_modules/npm/node_modules/request/node_modules/stringstream/package.json,/Gmright/Milestones/Gmright-market/cordova-plugin-purchase-master/cordova-plugin-purchase-master/node_modules/npm/node_modules/request/node_modules/stringstream/package.json

Dependency Hierarchy: - cordova-6.5.0.tgz (Root Library) - cordova-lib-6.5.0.tgz - npm-2.15.12.tgz - request-2.74.0.tgz - :x: **stringstream-0.0.5.tgz** (Vulnerable Library)

Found in HEAD commit: 9d1a57d4a883a95dd053ae20188092a7a8dda534

Found in base branch: master

Vulnerability Details

Versions less than 0.0.6 of the Node.js stringstream module are vulnerable to an out-of-bounds read because of allocation of uninitialized buffers when a number is passed in the input stream (when using Node.js 4.x).

Publish Date: 2020-12-03

URL: CVE-2018-21270

CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: None - 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-2018-21270

Release Date: 2020-12-03

Fix Resolution (stringstream): 0.0.6

Direct dependency fix Resolution (cordova): 6.5.1-nightly.2017.2.15.abe6b8f1


Step up your Open Source Security Game with Mend here