SCA: security update for json (GHSA-9hj4-r449-hfvc)

high Tenable Self-Hosted Container Security Plugin ID 497145

Description

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

- Ruby JSON is a JSON implementation for Ruby. From 2.20.0 until 2.21.2, Ruby's JSON native C extension
clears the consumed JSON::ResumableParser input buffer but leaves state.start, state.cursor, and state.end
pointing into released storage. When partial_value reconstructs an incomplete object containing duplicate
keys, the duplicate-key warning path calls cursor_position, which dereferences those stale pointers. This
results in a heap-use-after-free and can terminate the Ruby process. An attacker who can supply JSON
stream data to an application using JSON::ResumableParser may cause process termination when the
application calls partial_value on incomplete attacker-controlled input containing duplicate object keys.
This issue has been fixed in version 2.21.2. (CVE-2026-71847)

Solution

Update the json library and its related packages to version 2.21.2 or later.

See Also

https://github.com/advisories/GHSA-9hj4-r449-hfvc

Plugin Details

Severity: High

ID: 497145

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.62

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2026-71847

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/7/2026

Vulnerability Publication Date: 8/7/2026

Reference Information

CVE: CVE-2026-71847

cwe: CWE-416