LevyForchh / yugabyte-db

The high-performance distributed SQL database for global, internet-scale apps.
https://www.yugabyte.com
Other
0 stars 0 forks source link

CVE-2020-7608 (Medium) detected in multiple libraries #178

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

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

CVE-2020-7608 - Medium Severity Vulnerability

Vulnerable Libraries - yargs-parser-4.2.1.tgz, yargs-parser-5.0.0.tgz, yargs-parser-10.1.0.tgz, yargs-parser-7.0.0.tgz, yargs-parser-9.0.2.tgz

yargs-parser-4.2.1.tgz

the mighty option parser used by yargs

Library home page: https://registry.npmjs.org/yargs-parser/-/yargs-parser-4.2.1.tgz

Path to dependency file: yugabyte-db/docs/package.json

Path to vulnerable library: yugabyte-db/docs/node_modules/webpack-dev-server/node_modules/yargs-parser/package.json

Dependency Hierarchy: - webpack-dev-server-2.11.5.tgz (Root Library) - yargs-6.6.0.tgz - :x: **yargs-parser-4.2.1.tgz** (Vulnerable Library)

yargs-parser-5.0.0.tgz

the mighty option parser used by yargs

Library home page: https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz

Path to dependency file: yugabyte-db/docs/package.json

Path to vulnerable library: yugabyte-db/docs/node_modules/yargs-parser/package.json

Dependency Hierarchy: - node-sass-4.13.0.tgz (Root Library) - sass-graph-2.2.4.tgz - yargs-7.1.0.tgz - :x: **yargs-parser-5.0.0.tgz** (Vulnerable Library)

yargs-parser-10.1.0.tgz

the mighty option parser used by yargs

Library home page: https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz

Path to dependency file: yugabyte-db/managed/ui/package.json

Path to vulnerable library: yugabyte-db/managed/ui/node_modules/webpack-dev-server/node_modules/yargs-parser/package.json

Dependency Hierarchy: - react-scripts-3.2.0.tgz (Root Library) - webpack-dev-server-3.2.1.tgz - yargs-12.0.2.tgz - :x: **yargs-parser-10.1.0.tgz** (Vulnerable Library)

yargs-parser-7.0.0.tgz

the mighty option parser used by yargs

Library home page: https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz

Path to dependency file: yugabyte-db/docs/package.json

Path to vulnerable library: yugabyte-db/docs/node_modules/webpack/node_modules/yargs-parser/package.json

Dependency Hierarchy: - webpack-3.12.0.tgz (Root Library) - yargs-8.0.2.tgz - :x: **yargs-parser-7.0.0.tgz** (Vulnerable Library)

yargs-parser-9.0.2.tgz

the mighty option parser used by yargs

Library home page: https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz

Path to dependency file: yugabyte-db/docs/package.json

Path to vulnerable library: yugabyte-db/docs/node_modules/npm/node_modules/yargs-parser/package.json

Dependency Hierarchy: - npm-6.13.2.tgz (Root Library) - libnpx-10.2.0.tgz - yargs-11.0.0.tgz - :x: **yargs-parser-9.0.2.tgz** (Vulnerable Library)

Found in HEAD commit: d5a0ed9bff63893a5435e09333d22846f6bb3acc

Found in base branch: master

Vulnerability Details

yargs-parser could be tricked into adding or modifying properties of Object.prototype using a "__proto__" payload.

Publish Date: 2020-03-16

URL: CVE-2020-7608

CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/yargs/yargs-parser/commit/63810ca1ae1a24b08293a4d971e70e058c7a41e2

Release Date: 2020-06-05

Fix Resolution: 5.0.1;13.1.2;15.0.1;18.1.1