vforge / ts-model

TypeScript ES6 Model mashup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2020-7608 (Medium) detected in yargs-parser-10.1.0.tgz, yargs-parser-11.1.1.tgz

mend-bolt-for-github opened this issue · comments

CVE-2020-7608 - Medium Severity Vulnerability

Vulnerable Libraries - yargs-parser-10.1.0.tgz, yargs-parser-11.1.1.tgz

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

Path to vulnerable library: /node_modules/ts-jest/node_modules/yargs-parser/package.json

Dependency Hierarchy:

  • tsdx-0.5.9.tgz (Root Library)
    • ts-jest-24.0.2.tgz
      • yargs-parser-10.1.0.tgz (Vulnerable Library)
yargs-parser-11.1.1.tgz

the mighty option parser used by yargs

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

Path to dependency file: /ts-model/package.json

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

Dependency Hierarchy:

  • tsdx-0.5.9.tgz (Root Library)
    • jest-24.8.0.tgz
      • jest-cli-24.8.0.tgz
        • yargs-12.0.5.tgz
          • yargs-parser-11.1.1.tgz (Vulnerable Library)

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

Release Date: 2020-03-16

Fix Resolution (yargs-parser): 13.1.2

Direct dependency fix Resolution (tsdx): 0.14.0

Fix Resolution (yargs-parser): 13.1.2

Direct dependency fix Resolution (tsdx): 0.14.0


Step up your Open Source Security Game with Mend here