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.
Published: 2020-11-10
Score: 7.3 High
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 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 Github GHSA GHSA-x5r6-x823-9848 Arbitrary Code Execution in json-ptr
History

No history.

Subscriptions

Json-ptr Project Json-ptr
cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

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

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

Link: CVE-2020-7766

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T05:37:45.777

Link: CVE-2020-7766

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses