SCA: security update for json-ptr (GHSA-x5r6-x823-9848)

critical Tenable Cloud Security Plugin ID 420320

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2020-7766)

See Also

https://github.com/advisories/GHSA-x5r6-x823-9848

Plugin Details

Severity: Critical

ID: 420320

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2020-7766

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/10/2021

Vulnerability Publication Date: 11/10/2020

Reference Information

CVE: CVE-2020-7766