GHSA-6c8f-qphg-qjgp

Suggest an improvement
Source
https://github.com/advisories/GHSA-6c8f-qphg-qjgp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/03/GHSA-6c8f-qphg-qjgp/GHSA-6c8f-qphg-qjgp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6c8f-qphg-qjgp
Aliases
Published
2020-03-31T15:59:54Z
Modified
2023-11-08T04:01:30.082511Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Validation Bypass in kind-of
Details

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

Affected packages

npm / kind-of

Package

Affected ranges

Type
SEMVER
Events
Introduced
6.0.0
Fixed
6.0.3

Ecosystem specific

{
    "affected_functions": [
        "(kind-of).ctorName"
    ]
}