CVE-2021-23807
CRITICAL 9.8CVSS 3.1Prototype Pollution in node-jsonpointer
This affects the package jsonpointer before 5.0.0. A type confusion vulnerability can lead to a bypass of a previous Prototype Pollution fix when the pointer components are arrays.
- Published
- 3 Nov 2021
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321CWE-843
- Also known as
- GHSA-282f-qqgm-c34q
- Sources
- NVDJSONOSV GHSA-282f-qqgm-c34qJSON
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 | janl | jsonpointercpe:2.3:a:janl:jsonpointer:*:*:*:*:*:node.js:*:* |
< 5.0.0 | 5.0.0 |
| OSV | npm | jsonpointer | < 5.0.0 | 5.0.0 |
| OSV | npm | org.webjars.npm:json-pointer | < 5.0.0 | 5.0.0 |
References
- https://github.com/janl/node-jsonpointer/commit/a0345f3550cd9c4d89f33b126390202b89510ad4 · Patch, Third Party Advisory, WEB
- https://github.com/janl/node-jsonpointer/pull/51 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1910273 · Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry, WEB
- https://snyk.io/vuln/SNYK-JS-JSONPOINTER-1577288 · Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23807 · ADVISORY
- https://github.com/janl/node-jsonpointer · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 3 Nov 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 8 Nov 2021)