{"answers":{"affected":"2 open source packages ship an affected version, including kind-of. It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-20149 in the wild and no public exploit code.","fix":"Upgrade kind-of to 6.0.3 or later.","what":"CVE-2019-20149 is a high-severity vulnerability in n/a, published on 30 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-20149 and fix it if it is affected.\n\nWhat it is: CVE-2019-20149 is a high-severity vulnerability in n/a, published on 30 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-20149 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- kind-of (npm): affected from 6.0.0; fixed in 6.0.3\n- kind-of (npm): affected from 6.0.0; fixed in 6.0.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-20149/ (Markdown: https://insights.sbomify.com/CVE-2019-20149/index.md)","id":"CVE-2019-20149","markdown":"https://insights.sbomify.com/CVE-2019-20149/index.md","name":"CVE-2019-20149","record":{"aliases":["AZL-44298","AZL-47271","DEBIAN-CVE-2019-20149","GHSA-6c8f-qphg-qjgp","UBUNTU-CVE-2019-20149"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript type detection library","requires_auth":"none","summary":"Attackers can manipulate type detection results in kind-of by overwriting internal attributes, potentially bypassing security checks relying on this library.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"kind-of","vendor":"kind-of_project"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-02-27","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-02-27T21:23:36Z","kind":"github_poc","ref":"https://github.com/mrknowledgshare/testing_cve-2019-20149","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Validation Bypass in kind-of","id":"CVE-2019-20149","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2019"},"n_packages":2,"n_references":2,"next":{"headline":"Information disclosure in n/a","id":"CVE-2019-20150"},"packages":[{"ecosystem":"npm","fixed":["6.0.3"],"introduced":["6.0.0"],"last_affected":[],"package":"kind-of","purl":null,"source":"GHSA-6c8f-qphg-qjgp"},{"ecosystem":"npm","fixed":["6.0.3"],"introduced":["6.0.0"],"last_affected":[],"package":"kind-of","purl":"pkg:npm/kind-of","source":"GHSA-6c8f-qphg-qjgp"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2019-20148"},"products":["n/a"],"published":"2019-12-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can manipulate type detection results in kind-of by overwriting internal attributes, potentially bypassing security checks relying on this library.","url":"https://insights.sbomify.com/CVE-2019-20149/"}