logzio / logzio-azure-serverless

Azure function that ships Logs to logz.io
Apache License 2.0
10 stars 12 forks source link

CVE-2019-20149 (Medium) detected in multiple libraries #41

Closed mend-for-github-com[bot] closed 3 years ago

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

CVE-2019-20149 - Medium Severity Vulnerability

Vulnerable Libraries - kind-of-4.0.0.tgz, kind-of-6.0.2.tgz, kind-of-3.2.2.tgz, kind-of-5.1.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/logzio-azure-serverless/package.json

Path to vulnerable library: /tmp/ws-scm/logzio-azure-serverless/node_modules/has-values/node_modules/kind-of/package.json,/tmp/ws-scm/logzio-azure-serverless/node_modules/has-values/node_modules/kind-of/package.json

Dependency Hierarchy: - jest-24.8.0.tgz (Root Library) - jest-cli-24.8.0.tgz - core-24.8.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 - :x: **kind-of-4.0.0.tgz** (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: /tmp/ws-scm/logzio-azure-serverless/dist/logs/package.json

Path to vulnerable library: /tmp/ws-scm/logzio-azure-serverless/dist/logs/node_modules/kind-of/package.json,/tmp/ws-scm/logzio-azure-serverless/dist/logs/node_modules/kind-of/package.json

Dependency Hierarchy: - jest-24.8.0.tgz (Root Library) - jest-cli-24.8.0.tgz - core-24.8.0.tgz - micromatch-3.1.10.tgz - :x: **kind-of-6.0.2.tgz** (Vulnerable Library)

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/logzio-azure-serverless/dist/logs/package.json

Path to vulnerable library: /tmp/ws-scm/logzio-azure-serverless/node_modules/is-accessor-descriptor/node_modules/kind-of/package.json,/tmp/ws-scm/logzio-azure-serverless/node_modules/is-accessor-descriptor/node_modules/kind-of/package.json

Dependency Hierarchy: - jest-24.8.0.tgz (Root Library) - jest-cli-24.8.0.tgz - core-24.8.0.tgz - micromatch-3.1.10.tgz - snapdragon-0.8.2.tgz - define-property-0.2.5.tgz - is-descriptor-0.1.6.tgz - is-data-descriptor-0.1.4.tgz - :x: **kind-of-3.2.2.tgz** (Vulnerable Library)

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/logzio-azure-serverless/dist/logs/package.json

Path to vulnerable library: /tmp/ws-scm/logzio-azure-serverless/dist/logs/node_modules/is-descriptor/node_modules/kind-of/package.json,/tmp/ws-scm/logzio-azure-serverless/dist/logs/node_modules/is-descriptor/node_modules/kind-of/package.json

Dependency Hierarchy: - jest-24.8.0.tgz (Root Library) - jest-cli-24.8.0.tgz - core-24.8.0.tgz - micromatch-3.1.10.tgz - snapdragon-0.8.2.tgz - define-property-0.2.5.tgz - is-descriptor-0.1.6.tgz - :x: **kind-of-5.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: 0dfb1696cadba07f68e6fde888a42f68d6ced701

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 2 Score Details (5.0)

Base Score Metrics not available

Doron-Bargo commented 3 years ago

Not relevant anymore