Tim-Demo / JS-Demo

Apache License 2.0
0 stars 0 forks source link

CVE-2021-44906 (Critical) detected in multiple libraries #294

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

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

CVE-2021-44906 - Critical Severity Vulnerability

Vulnerable Libraries - minimist-1.2.0.tgz, minimist-0.0.10.tgz, minimist-1.2.5.tgz, minimist-0.0.8.tgz

minimist-1.2.0.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/rc/node_modules/minimist/package.json,/node_modules/cypress/node_modules/minimist/package.json,/node_modules/meow/node_modules/minimist/package.json,/node_modules/nyc/node_modules/detect-indent/node_modules/minimist/package.json,/node_modules/coveralls/node_modules/minimist/package.json

Dependency Hierarchy: - cypress-3.3.1.tgz (Root Library) - :x: **minimist-1.2.0.tgz** (Vulnerable Library)

minimist-0.0.10.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/minimist/package.json

Dependency Hierarchy: - swig-1.4.2.tgz (Root Library) - optimist-0.6.1.tgz - :x: **minimist-0.0.10.tgz** (Vulnerable Library)

minimist-1.2.5.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/prettyjson/node_modules/minimist/package.json,/node_modules/forever/node_modules/minimist/package.json

Dependency Hierarchy: - forever-4.0.1.tgz (Root Library) - prettyjson-1.2.1.tgz - :x: **minimist-1.2.5.tgz** (Vulnerable Library)

minimist-0.0.8.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/npm/node_modules/mkdirp/node_modules/minimist/package.json,/node_modules/nyc/node_modules/minimist/package.json,/node_modules/mkdirp/node_modules/minimist/package.json

Dependency Hierarchy: - grunt-npm-install-0.3.1.tgz (Root Library) - npm-3.10.10.tgz - mkdirp-0.5.1.tgz - :x: **minimist-0.0.8.tgz** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Publish Date: 2022-03-17

URL: CVE-2021-44906

CVSS 3 Score Details (9.8)

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: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-xvch-5gv4-984h

Release Date: 2022-03-17

Fix Resolution (minimist): 1.2.6

Direct dependency fix Resolution (cypress): 4.12.0

Fix Resolution (minimist): 1.2.6

Direct dependency fix Resolution (forever): 4.0.2


:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

mend-for-github-com[bot] commented 6 months 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.

mend-for-github-com[bot] commented 6 months ago

: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.