CVE-2020-7766

Prototype Pollution

State
Published
Severity
7.3 High
Published
Nov 10, 2020
Updated
Sep 16, 2024
Reserved
Jan 21, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:Csnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
json-ptrn/a
  • before unspecifiedAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.