-
Notifications
You must be signed in to change notification settings - Fork 2
Description
CVE-2019-20149 - Medium Severity Vulnerability
Vulnerable Libraries - kind-of-3.2.2.tgz, kind-of-4.0.0.tgz, kind-of-6.0.2.tgz, kind-of-5.1.0.tgz
kind-of-3.2.2.tgz
Get the native type of a value.
Library home page: https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz
Path to dependency file: /tmp/ws-scm/build-radiator/BuildRadiator/package.json
Path to vulnerable library: /tmp/ws-scm/build-radiator/BuildRadiator/node_modules/object-copy/node_modules/kind-of/package.json
Dependency Hierarchy:
- gulp-3.9.1.tgz (Root Library)
- liftoff-2.5.0.tgz
- findup-sync-2.0.0.tgz
- micromatch-3.1.10.tgz
- snapdragon-0.8.2.tgz
- base-0.11.2.tgz
- class-utils-0.3.6.tgz
- static-extend-0.1.2.tgz
- object-copy-0.1.0.tgz
- ❌ kind-of-3.2.2.tgz (Vulnerable Library)
- object-copy-0.1.0.tgz
- static-extend-0.1.2.tgz
- class-utils-0.3.6.tgz
- base-0.11.2.tgz
- snapdragon-0.8.2.tgz
- micromatch-3.1.10.tgz
- findup-sync-2.0.0.tgz
- liftoff-2.5.0.tgz
kind-of-4.0.0.tgz
Get the native type of a value.
Library home page: https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz
Path to dependency file: /tmp/ws-scm/build-radiator/BuildRadiator/package.json
Path to vulnerable library: /tmp/ws-scm/build-radiator/BuildRadiator/node_modules/has-values/node_modules/kind-of/package.json
Dependency Hierarchy:
- gulp-3.9.1.tgz (Root Library)
- liftoff-2.5.0.tgz
- findup-sync-2.0.0.tgz
- micromatch-3.1.10.tgz
- snapdragon-0.8.2.tgz
- base-0.11.2.tgz
- cache-base-1.0.1.tgz
- has-value-1.0.0.tgz
- has-values-1.0.0.tgz
- ❌ kind-of-4.0.0.tgz (Vulnerable Library)
- has-values-1.0.0.tgz
- has-value-1.0.0.tgz
- cache-base-1.0.1.tgz
- base-0.11.2.tgz
- snapdragon-0.8.2.tgz
- micromatch-3.1.10.tgz
- findup-sync-2.0.0.tgz
- liftoff-2.5.0.tgz
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: /tmp/ws-scm/build-radiator/BuildRadiator/package.json
Path to vulnerable library: /tmp/ws-scm/build-radiator/BuildRadiator/node_modules/kind-of/package.json
Dependency Hierarchy:
- gulp-3.9.1.tgz (Root Library)
- liftoff-2.5.0.tgz
- findup-sync-2.0.0.tgz
- micromatch-3.1.10.tgz
- ❌ kind-of-6.0.2.tgz (Vulnerable Library)
- micromatch-3.1.10.tgz
- findup-sync-2.0.0.tgz
- liftoff-2.5.0.tgz
kind-of-5.1.0.tgz
Get the native type of a value.
Library home page: https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz
Path to dependency file: /tmp/ws-scm/build-radiator/BuildRadiator/package.json
Path to vulnerable library: /tmp/ws-scm/build-radiator/BuildRadiator/node_modules/is-descriptor/node_modules/kind-of/package.json
Dependency Hierarchy:
- gulp-3.9.1.tgz (Root Library)
- liftoff-2.5.0.tgz
- findup-sync-2.0.0.tgz
- micromatch-3.1.10.tgz
- snapdragon-0.8.2.tgz
- define-property-0.2.5.tgz
- is-descriptor-0.1.6.tgz
- ❌ kind-of-5.1.0.tgz (Vulnerable Library)
- is-descriptor-0.1.6.tgz
- define-property-0.2.5.tgz
- snapdragon-0.8.2.tgz
- micromatch-3.1.10.tgz
- findup-sync-2.0.0.tgz
- liftoff-2.5.0.tgz
Found in HEAD commit: f6e16803f364a3e6314ded5c9604a87d9ed25997
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
Step up your Open Source Security Game with WhiteSource here