Lucene search

K
cvelistSnykCVELIST:CVE-2020-7766
HistoryNov 10, 2020 - 3:35 p.m.

CVE-2020-7766 Prototype Pollution

2020-11-1015:35:15
snyk
www.cve.org
4
cve-2020-7766
json-ptr
prototype pollution
set operation
force flag

CVSS3

7.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C

AI Score

7.2

Confidence

High

EPSS

0.009

Percentile

82.6%

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.

CNA Affected

[
  {
    "product": "json-ptr",
    "vendor": "n/a",
    "versions": [
      {
        "lessThan": "unspecified",
        "status": "affected",
        "version": "0",
        "versionType": "custom"
      }
    ]
  }
]

CVSS3

7.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C

AI Score

7.2

Confidence

High

EPSS

0.009

Percentile

82.6%

Related for CVELIST:CVE-2020-7766