Description
This affects all versions of package json-ptr. The issue occurs in the set operation (https://flitbit.github.io/json-ptr/classes/_src_pointer_.jsonpointer.htmlset) when the force flag is set to true. The function recursively set the property in the target object, however it does not properly check the key being set, leading to a prototype pollution.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2021-1228 | This affects all versions of package json-ptr. The issue occurs in the set operation (https://flitbit.github.io/json-ptr/classes/_src_pointer_.jsonpointer.htmlset) when the force flag is set to true. The function recursively set the property in the target object, however it does not properly check the key being set, leading to a prototype pollution. |
Github GHSA |
GHSA-x5r6-x823-9848 | Arbitrary Code Execution in json-ptr |
References
History
No history.
Status: PUBLISHED
Assigner: snyk
Published:
Updated: 2024-09-16T22:14:07.645Z
Reserved: 2020-01-21T00:00:00.000Z
Link: CVE-2020-7766
No data.
Status : Modified
Published: 2020-11-10T16:15:14.963
Modified: 2024-11-21T05:37:45.777
Link: CVE-2020-7766
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA