raindigi / svgs

svgs is a compatiblity layer between svg and react-native-svg
MIT License
0 stars 0 forks source link

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

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

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

CVE-2021-44906 - Critical Severity Vulnerability

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

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: /svgs/package.json

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

Dependency Hierarchy: - cli-7.1.2.tgz (Root Library) - chokidar-2.0.4.tgz - fsevents-1.2.4.tgz - node-pre-gyp-0.10.0.tgz - mkdirp-0.5.1.tgz - :x: **minimist-0.0.8.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: /svgs/package.json

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

Dependency Hierarchy: - nyc-13.0.1.tgz (Root Library) - istanbul-reports-2.0.0.tgz - handlebars-4.0.11.tgz - optimist-0.6.1.tgz - :x: **minimist-0.0.10.tgz** (Vulnerable Library)

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: /svgs/package.json

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

Dependency Hierarchy: - cli-7.1.2.tgz (Root Library) - chokidar-2.0.4.tgz - fsevents-1.2.4.tgz - node-pre-gyp-0.10.0.tgz - rc-1.2.7.tgz - :x: **minimist-1.2.0.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): 0.2.4

Direct dependency fix Resolution (@babel/cli): 7.1.5

Fix Resolution (minimist): 0.2.4

Direct dependency fix Resolution (nyc): 13.1.0

Fix Resolution (minimist): 0.2.4

Direct dependency fix Resolution (@babel/cli): 7.1.5


Step up your Open Source Security Game with Mend here