CVE-2019-20149
HIGH 7.5CVSS 3.1Validation Bypass in kind-of
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.
- Published
- 30 Dec 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-668
- Also known as
- GHSA-6c8f-qphg-qjgp
- Sources
- NVDJSONOSV GHSA-6c8f-qphg-qjgpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kind-of_project | kind-ofcpe:2.3:a:kind-of_project:kind-of:6.0.2:*:*:*:*:*:*:* |
= 6.0.2 | |
| OSV | npm | kind-of | >= 6.0.0, < 6.0.3 | 6.0.3 |
References
- https://github.com/jonschlinkert/kind-of/issues/30 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/jonschlinkert/kind-of/pull/31 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-20149 · ADVISORY
- https://github.com/jonschlinkert/kind-of/commit/1df992ce6d5a1292048e5fe9c52c5382f941ee0b · WEB
- https://snyk.io/vuln/SNYK-JS-KINDOF-537849 · WEB
- https://www.npmjs.com/advisories/1490 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 30 Dec 2019)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 31 Mar 2020)