janl/node-jsonpointer · Security
Prototype Pollution in node-jsonpointer
- GHSA ID
- GHSA-282f-qqgm-c34q
- CVE ID
- CVE-2021-23807
- 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 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.
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-23807 ↗
- https://github.com/janl/node-jsonpointer/pull/51 ↗
- https://github.com/janl/node-jsonpointer/commit/a0345f3550cd9c4d89f33b126390202b89510ad4 ↗
- https://snyk.io/vuln/SNYK-JS-JSONPOINTER-1577288 ↗
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1910273 ↗
- https://github.com/advisories/GHSA-282f-qqgm-c34q ↗