medium5.6
CVE-2021-23509
Prototype Pollution in json-ptr
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | json-ptr | < 3.0.0 | 3.0.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Json-Ptr Project | Json-Ptr | before 3.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/flitbit/json-ptr%23security-vulnerabilities-resolved
- https://github.com/flitbit/json-ptr/commit/5dc458fbad1c382a2e3ca6d62e66ede3d92849ca
- https://github.com/flitbit/json-ptr/pull/42
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1767165
- https://snyk.io/vuln/SNYK-JS-JSONPTR-1577291
- https://github.com/advisories/GHSA-8gwj-8hxc-285w
- https://nvd.nist.gov/vuln/detail/CVE-2021-23509