Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2019-20149 (High) detected in kind-of-6.0.2.tgz #8

Open
mend-for-github-com bot opened this issue Dec 10, 2021 · 0 comments
Open

CVE-2019-20149 (High) detected in kind-of-6.0.2.tgz #8

mend-for-github-com bot opened this issue Dec 10, 2021 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Dec 10, 2021

CVE-2019-20149 - High Severity Vulnerability

Vulnerable Library - kind-of-6.0.2.tgz

Get the native type of a value.

Library home page: https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/nanomatch/node_modules/kind-of/package.json,/node_modules/is-descriptor/node_modules/kind-of/package.json,/node_modules/is-accessor-descriptor/node_modules/kind-of/package.json,/node_modules/is-data-descriptor/node_modules/kind-of/package.json,/node_modules/webpack-dev-server/node_modules/kind-of/package.json,/node_modules/watchpack/node_modules/kind-of/package.json,/node_modules/clone-deep/node_modules/kind-of/package.json,/node_modules/use/node_modules/kind-of/package.json

Dependency Hierarchy:

  • cli-1.7.3.tgz (Root Library)
    • webpack-dev-server-2.11.2.tgz
      • chokidar-2.0.3.tgz
        • anymatch-2.0.0.tgz
          • micromatch-3.1.10.tgz
            • nanomatch-1.2.9.tgz
              • kind-of-6.0.2.tgz (Vulnerable Library)

Found in HEAD commit: e09ef1e3a45be925a41a2e1aa6a0bcbc6b3c41ea

Found in base branch: master

Vulnerability Details

ctorName in index.js in kind-of v6.0.2 allows external user input to overwrite certain internal attributes via a conflicting name, as demonstrated by 'constructor': {'name':'Symbol'}. Hence, a crafted payload can overwrite this builtin attribute to manipulate the type detection result.

Publish Date: 2019-12-30

URL: CVE-2019-20149

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-20149

Release Date: 2019-12-30

Fix Resolution (kind-of): 6.0.3

Direct dependency fix Resolution (@angular/cli): 1.7.4


⛑️ Automatic Remediation will be attempted for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants