flitbit/json-ptr · Security
Prototype Pollution in json-ptr
- GHSA ID
- GHSA-8gwj-8hxc-285w
- CVE ID
- CVE-2021-23509
- 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 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.
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-23509 ↗
- https://github.com/flitbit/json-ptr/pull/42 ↗
- https://github.com/flitbit/json-ptr/commit/5dc458fbad1c382a2e3ca6d62e66ede3d92849ca ↗
- https://github.com/flitbit/json-ptr%23security-vulnerabilities-resolved ↗
- https://snyk.io/vuln/SNYK-JS-JSONPTR-1577291 ↗
- https://github.com/advisories/GHSA-8gwj-8hxc-285w ↗