medium5.6
CVE-2021-23820
Prototype Pollution in json-pointer
Impact
This affects versions of package `json-pointer` up to and including `0.6.1`. A type confusion vulnerability can lead to a bypass of CVE-2020-7709 when the pointer components are arrays.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | json-pointer | <= 0.6.1 | 0.6.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Manuelstofer | Json-Pointer | before 0.6.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/manuelstofer/json-pointer/blob/master/index.js%23L78
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1910686
- https://snyk.io/vuln/SNYK-JS-JSONPOINTER-1577287
- https://github.com/advisories/GHSA-v5vg-g7rq-363w
- https://nvd.nist.gov/vuln/detail/CVE-2021-23820
- https://github.com/manuelstofer/json-pointer/pull/36
- https://github.com/manuelstofer/json-pointer/commit/931b0f9c7178ca09778087b4b0ac7e4f505620c2