High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-20149
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:03 UTC · Revision 1
Source evidence
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.
osv:CVE-2019-20149
Complete source record
{
"id": "e1bcd3d7a004adbb0b31d25945500e3561ada0377bb008021e132ebdb8b948a3",
"url": "https://osv.dev/vulnerability/CVE-2019-20149",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-20149",
"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.",
"evidence": "osv:CVE-2019-20149",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-20149",
"aliases": [
"CVE-2019-20149",
"GHSA-6c8f-qphg-qjgp"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jonschlinkert/kind-of",
"type": "GIT",
"events": [
{
"introduced": "0b4ababf3a8505f60055487415a2dfe678a10b53"
},
{
"last_affected": "0b4ababf3a8505f60055487415a2dfe678a10b53"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:kind-of_project:kind-of:6.0.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.2"
},
{
"last_affected": "6.0.2"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"6.0.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20149.json"
}
}
],
"modified": "2026-10-20T10:52:39.153201183Z",
"provider": "osv",
"references": [
"https://github.com/jonschlinkert/kind-of/issues/30",
"https://github.com/jonschlinkert/kind-of/pull/31"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-20149",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383714,
"published_at": "2019-12-30T19:15:11.91+00:00"
}