manuelstofer/json-pointer · Security
Prototype Pollution in json-pointer
- GHSA ID
- GHSA-v5vg-g7rq-363w
- CVE ID
- CVE-2021-23820
- Severity
- medium
- Published
- Updated
- CVSS
- 5.6 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- CVSS v3
- 5.6 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Description
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.
CWEs
- CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')
- CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23820 ↗
- https://github.com/manuelstofer/json-pointer/blob/master/index.js%23L78 ↗
- https://snyk.io/vuln/SNYK-JS-JSONPOINTER-1577287 ↗
- https://github.com/manuelstofer/json-pointer/pull/36 ↗
- https://github.com/manuelstofer/json-pointer/commit/931b0f9c7178ca09778087b4b0ac7e4f505620c2 ↗
- https://github.com/advisories/GHSA-v5vg-g7rq-363w ↗