CVE-2021-23509
MEDIUM5.6EPSS 1.7%Prototype Pollution in json-ptr
Published: 11/8/2021Modified: 1/14/2025
Also known as:GHSA-8gwj-8hxc-285w
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.
Affected packages (1)
- npm/json-ptrfrom 0, < 3.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-23509
- PATCHhttps://github.com/flitbit/json-ptr
- WEBhttps://github.com/flitbit/json-ptr%23security-vulnerabilities-resolved
- WEBhttps://github.com/flitbit/json-ptr/commit/5dc458fbad1c382a2e3ca6d62e66ede3d92849ca
- WEBhttps://github.com/flitbit/json-ptr/pull/42
- WEBhttps://snyk.io/vuln/SNYK-JS-JSONPTR-1577291