GitHub Advisory Database
GHSA-282f-qqgm-c34q
Prototype Pollution in node-jsonpointer
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | jsonpointer | All versions before 5.0.0 (fixed in 5.0.0) |
| npm | org.webjars.npm:json-pointer | All versions before 5.0.0 (fixed in 5.0.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23807
- https://github.com/janl/node-jsonpointer/pull/51
- https://github.com/janl/node-jsonpointer/commit/a0345f3550cd9c4d89f33b126390202b89510ad4
- https://github.com/janl/node-jsonpointer
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1910273
- https://snyk.io/vuln/SNYK-JS-JSONPOINTER-1577288