CVE-2021-23820
CRITICAL 9.8CVSS 3.1Prototype Pollution in json-pointer
This affects all versions of package json-pointer. A type confusion vulnerability can lead to a bypass of CVE-2020-7709 when the pointer components are arrays.
- Published
- 3 Nov 2021
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Analyzed
- Weakness
- CWE-1321CWE-843
- Also known as
- GHSA-v5vg-g7rq-363w
- Sources
- NVDJSONOSV GHSA-v5vg-g7rq-363wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | manuelstofer | json-pointercpe:2.3:a:manuelstofer:json-pointer:*:*:*:*:*:node.js:*:* |
< 0.6.2 | 0.6.2 |
| OSV | npm | json-pointer | < 0.6.2 | 0.6.2 |
References
- https://github.com/manuelstofer/json-pointer/blob/master/index.js%23L78 · Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1910686 · Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry
- https://snyk.io/vuln/SNYK-JS-JSONPOINTER-1577287 · Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23820 · ADVISORY
- https://github.com/manuelstofer/json-pointer/pull/36 · WEB
- https://github.com/manuelstofer/json-pointer/commit/931b0f9c7178ca09778087b4b0ac7e4f505620c2 · WEB
- https://github.com/manuelstofer/json-pointer · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 3 Nov 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Nov 2021)