{"id":"CVE-2021-23509","aliases":["CVE-2021-23509","GHSA-8gwj-8hxc-285w"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution","summary":"This affects the package json-ptr before 3.0.0. A type confusion vulnerability can lead to a bypass of CVE-2020-7766 when the user-provided keys used in the pointer parameter are arrays.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects the package json-ptr before 3.0.0. A type confusion vulnerability can lead to a bypass of CVE-2020-7766 when the user-provided keys used in the pointer parameter are arrays.","source":"cvelist"},{"lang":"en","text":"This affects the package `json-ptr` before `3.0.0`. A type confusion vulnerability can lead to a bypass of CVE-2020-7766 when the user-provided keys used in the pointer parameter are arrays.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta al paquete json-ptr versiones anteriores a 3.0.0. Una vulnerabilidad de confusión de tipo puede conllevar a una omisión de CVE-2020-7766 cuando las claves proporcionadas por el usuario usadas en el parámetro pointer son matrices","source":"nvd"}],"published":"2021-11-03T17:20:36.571Z","modified":"2026-06-17T03:38:48.533Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","score":5.6,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","score":5.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-843","CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.0.0","status":"affected"}],"product":"json-ptr","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.0.0"}],"ecosystem":"npm","package":"json-ptr","purl":"pkg:npm/json-ptr","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.0.0"}],"vendor":"json-ptr_project","product":"json-ptr","cpe":"cpe:2.3:a:json-ptr_project:json-ptr:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-JSONPTR-1577291","tags":["exploit","mitigation","patch","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1767165","tags":["exploit","mitigation","patch","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/flitbit/json-ptr/pull/42","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/flitbit/json-ptr/commit/5dc458fbad1c382a2e3ca6d62e66ede3d92849ca","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/flitbit/json-ptr%23security-vulnerabilities-resolved","tags":["broken-link","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23509","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/flitbit/json-ptr","tags":["package"],"sources":["ghsa"]}],"credits":["Alessio Della Libera of Snyk Research Team"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23509","url":"https://www.cve.org/CVERecord?id=CVE-2021-23509","licence":"CVE Terms of Use","modified":"2024-09-16T20:32:29.801Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8gwj-8hxc-285w","url":"https://github.com/advisories/GHSA-8gwj-8hxc-285w","licence":"CC-BY-4.0","modified":"2025-01-14T09:12:03.022Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23509","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23509","licence":"Public domain","modified":"2026-06-17T03:38:48.533Z"}],"updatedAt":"2026-11-25T22:58:05.333Z","epss":{"score":0.01828,"percentile":0.79461,"date":"2026-12-01T12:00:22.000Z"}}