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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2020-11-10T15:35:15.894341Z

Updated: 2024-09-16T22:14:07.645Z

Reserved: 2020-01-21T00:00:00

Link: CVE-2020-7766

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2020-11-10T16:15:14.963

Modified: 2022-12-02T19:44:37.570

Link: CVE-2020-7766

cve-icon Redhat

No data.