CVE-2020-7766

Prototype Pollution

Published Nov 10, 2020 CVSS 3.1 · 7.3 High EPSS 1.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 10:14 PM
Reserved
Jan 21, 2020, 12:00 AM
Status
Modified
Published
Nov 10, 2020, 4:15 PM
Modified
Jun 17, 2026, 3:25 AM