SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2020-7766

This affects all versions of package json-ptr.

CRITICAL 9.8EPSS 1.90%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (1.90%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.90% probability · 79th percentile
CISA KEV
Not listed
Weakness
CWE-1321
Affected
json-ptr project/json-ptr
Source
report@snyk.io

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.