-
Notifications
You must be signed in to change notification settings - Fork 6
Description
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/extglob/node_modules/kind-of/package.json,/node_modules/base/node_modules/kind-of/package.json,/node_modules/snapdragon-node/node_modules/kind-of/package.json
Dependency Hierarchy:
- react-scripts-3.4.3.tgz (Root Library)
- webpack-4.42.0.tgz
- micromatch-3.1.10.tgz
- braces-2.3.2.tgz
- snapdragon-node-2.1.1.tgz
- define-property-1.0.0.tgz
- is-descriptor-1.0.2.tgz
- ❌ kind-of-6.0.2.tgz (Vulnerable Library)
- is-descriptor-1.0.2.tgz
- define-property-1.0.0.tgz
- snapdragon-node-2.1.1.tgz
- braces-2.3.2.tgz
- micromatch-3.1.10.tgz
- webpack-4.42.0.tgz
Found in HEAD commit: 874cb20f9370ccd4701dc2ff3464bb8ed6902695
Found in base branch: main
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
Suggested Fix
Type: Upgrade version
Origin: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-20149
Release Date: 2020-08-24
Fix Resolution (kind-of): 6.0.3
Direct dependency fix Resolution (react-scripts): 3.4.4
- Check this box to open an automated fix PR