gmright2 / DEFOLD_Gmright_INLINE

MIT License
0 stars 5 forks source link

CVE-2022-29244 (High) detected in npm-2.15.12.tgz #193

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

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

CVE-2022-29244 - High Severity Vulnerability

Vulnerable Library - npm-2.15.12.tgz

a package manager for JavaScript

Library home page: https://registry.npmjs.org/npm/-/npm-2.15.12.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/package.json,/Gmright/Milestones/Gmright-market/cordova-plugin-purchase-master/cordova-plugin-purchase-master/node_modules/npm/package.json

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

Found in HEAD commit: b7c024e8a4ee13f6a45cb00117437f5302af545e

Found in base branch: master

Vulnerability Details

npm pack ignores root-level .gitignore and .npmignore file exclusion directives when run in a workspace or with a workspace flag (ie. `--workspaces`, `--workspace=`). Anyone who has run `npm pack` or `npm publish` inside a workspace, as of v7.9.0 and v7.13.0 respectively, may be affected and have published files into the npm registry they did not intend to include. Users should upgrade to the latest, patched version of npm v8.11.0, run: npm i -g npm@latest . Node.js versions v16.15.1, v17.19.1, and v18.3.0 include the patched v8.11.0 version of npm.

Publish Date: 2022-06-13

URL: CVE-2022-29244

CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-hj9c-8jmm-8c52

Release Date: 2022-06-13

Fix Resolution (npm): 6.14.18

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


Step up your Open Source Security Game with Mend here