ghsa-6c8f-qphg-qjgp
Vulnerability from github
Published
2020-03-31 15:59
Modified
2021-08-23 15:03
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.

Show details on source website


{
  "affected": [
    {
      "ecosystem_specific": {
        "affected_functions": [
          "(kind-of).ctorName"
        ]
      },
      "package": {
        "ecosystem": "npm",
        "name": "kind-of"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.0.0"
            },
            {
              "fixed": "6.0.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2019-20149"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-668"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-03-31T15:59:30Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "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. \n\n\n## Recommendation\n\nUpgrade to versions 6.0.3 or later.",
  "id": "GHSA-6c8f-qphg-qjgp",
  "modified": "2021-08-23T15:03:55Z",
  "published": "2020-03-31T15:59:54Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-20149"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jonschlinkert/kind-of/issues/30"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jonschlinkert/kind-of/pull/31"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jonschlinkert/kind-of/commit/1df992ce6d5a1292048e5fe9c52c5382f941ee0b"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JS-KINDOF-537849"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/1490"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Validation Bypass in kind-of"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.