CVE-2019-20149 json
Validation Bypass in kind-of
published 2019-12-30 6 y ago modified 2026-06-17 4 mo ago also GHSA-6c8f-qphg-qjgp , EUVD-2020-0335
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm kind-of 6.0.3
- node-kind-of Debian 14, Debian 13, Debian 12 6.0.3+dfsg-1
debian advisories DEBIAN-CVE-2019-20149
- js-jquery CBL-Mariner 2.0, Azure Linux 3.0 3.5.0-4
azure linux advisories AZL-44298AZL-47271
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/jonschlinkert/kind-of@1df992c commit
- github.com/jonschlinkert/kind-of#31 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-20149 updated cvss 5.9
nodejs-kind-of: ctorName in index.js allows external user input to overwrite certain internal attributes
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8affected: no fix planned “Will not fix”
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheusaffected: no fix available
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel8, rhacm2/search-ui-rhel8, rhacm2/console-ui-rhel8, rhacm2/search-api-rhel8, rhacm2/mcm-topology-rhel8, rhacm2/console-header-rhel8, +1 moreaffected: no fix available, no fix planned “Will not fix”
-
Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8 Red Hat Ansible Automation Platform 1.2 kind-ofaffected: no fix available “Fix deferred”
-
Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8affected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 8 nodejs-nodemonaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 3.11 kibanaaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-grafana, openshift4/ose-thanos-rhel9, openshift4/ose-logging-kibana6, openshift4/ose-prometheus-rhel9affected: no fix planned “Out of support scope”
show 5 moreshow fewer
-
Red Hat Openshift Data Foundation 4 odf4/odf-console-rhel9 Red Hat OpenShift distributed tracing 2 rhosdt/jaeger-all-in-one-rhel8affected: no fix available “Fix deferred”
-
Red Hat Quay 3 quay/quay-rhel8affected: no fix available
-
Red Hat Software Collections rh-nodejs10-nodejs-nodemonaffected: no fix planned “Out of support scope”
-
Red Hat Advanced Cluster Management for Kubernetes 2.3 for RHEL 8 rhacm2/kui-web-terminal-rhel8 v2.3.2-5fixed: vendor fix RHSA-2021:3454
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/grc-ui-rhel8, rhacm2/grc-ui-api-rhel8, rhacm2/console-api-rhel8, rhacm2/application-ui-rhel8 Red Hat Advanced Cluster Management for Kubernetes 2.3 for RHEL 7 rhacm2/thanos-rhel7 v2.3.2-3, rhacm2/management-ingress-rhel7 v2.3.2-3, rhacm2/memcached-exporter-rhel7 v2.3.2-2 Red Hat Advanced Cluster Management for Kubernetes 2.3 for RHEL 8 rhacm2/work-rhel8 v2.3.2-3, rhacm2/grc-ui-rhel8 v2.3.2-4, rhacm2/search-rhel8 v2.3.2-3, rhacm2/console-rhel8 v2.3.2-5, rhacm2/memcached-rhel8 v2.3.2-2, rhacm2/placement-rhel8 v2.3.2-3, +54 more Red Hat Openshift Data Foundation 4 odf4/mcg-core-rhel8 Red Hat Virtualization 4 ovirt-web-ui, cockpit-ovirt-uiplugin, cockpit-ovirt-dashboard, ovirt-engine-ui-extensionsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.34% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jonschlinkert/kind-of/issues/30 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | kind-of | >=6.0.0, <6.0.3 |
6.0.3 |
Classification
- Weakness
-
- CWE-668 Exposure of Resource to Wrong Sphere
References
-
github.com
/jonschlinkert/kind-of/pull/31
web, patch, third-party-advisory
-
github.com
/jonschlinkert/kind-of/commit/1df992ce6d5a1292048e5fe9c52c5382f941ee0b
web
-
github.com
/jonschlinkert/kind-of/issues/30
web, exploit, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-20149
advisory
-
snyk.io
/vuln/SNYK-JS-KINDOF-537849
web
-
npmjs.com
/advisories/1490
web
Sources
- CVE List CVE-2019-20149
- GitHub Advisory GHSA-6c8f-qphg-qjgp
- NVD CVE-2019-20149
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.