Live threats

All CVEs / Kind-of Project

CVE-2019-20149Kind-of Project Kind-of

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Dec 30, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-668
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Kind-of.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm kind-of ≥ 6.0.0 < 6.0.3 6.0.3 npm install kind-of@6.0.3

Per OSV / GitHub Advisories (GHSA-6c8f-qphg-qjgp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
kind-of_projectkind-of6.0.2

Official sources

References

Links published by the sources. Open them with care.