Skip to content

Validation Bypass in kind-of

High severity GitHub Reviewed Published Mar 31, 2020 to the GitHub Advisory Database • Updated Nov 29, 2023

Package

npm kind-of (npm)

Affected versions

>= 6.0.0, < 6.0.3

Patched versions

6.0.3

Description

Versions of kind-of 6.x prior to 6.0.3 are vulnerable to a Validation Bypass. A maliciously crafted object can alter the result of the type check, allowing attackers to bypass the type checking validation.

Recommendation

Upgrade to versions 6.0.3 or later.

References

Reviewed Mar 31, 2020
Published to the GitHub Advisory Database Mar 31, 2020
Last updated Nov 29, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weaknesses

CVE ID

CVE-2019-20149

GHSA ID

GHSA-6c8f-qphg-qjgp

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.