CVE-2021-23509
CRITICAL 9.8CVSS 3.1Prototype Pollution in json-ptr
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.
- Published
- 3 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321CWE-843
- Also known as
- GHSA-8gwj-8hxc-285w
- Sources
- NVDJSONOSV GHSA-8gwj-8hxc-285wJSON
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 | json-ptr_project | json-ptrcpe:2.3:a:json-ptr_project:json-ptr:*:*:*:*:*:*:*:* |
< 3.0.0 | 3.0.0 |
| OSV | npm | json-ptr | < 3.0.0 | 3.0.0 |
References
- https://github.com/flitbit/json-ptr%23security-vulnerabilities-resolved · Broken Link, Third Party Advisory, WEB
- https://github.com/flitbit/json-ptr/commit/5dc458fbad1c382a2e3ca6d62e66ede3d92849ca · Patch, Third Party Advisory, WEB
- https://github.com/flitbit/json-ptr/pull/42 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1767165 · Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry
- https://snyk.io/vuln/SNYK-JS-JSONPTR-1577291 · Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23509 · ADVISORY
- https://github.com/flitbit/json-ptr · 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)