SCA: security update for oj (GHSA-9ppp-w3g4-fh4q)

low Tenable Cloud Security Plugin ID 443712

Description

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

- Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. Prior to 3.17.2,
Oj::Doc iterators (each_value, each_child, each_leaf) were vulnerable to a heap use-after-free. When a
Ruby block yielded during iteration calls doc.close or d.close, the document's heap memory is freed while
the C iterator is still running. When control returns from the block, the iterator reads from the freed
region, producing a use-after-free accessible from pure Ruby. This issue has been fixed in version 3.17.2.
(CVE-2026-54897)

Solution

Update the oj library and its related packages to version 3.17.3 or later.

See Also

https://github.com/advisories/GHSA-9ppp-w3g4-fh4q

Plugin Details

Severity: Low

ID: 443712

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 6/20/2026

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.96

Vendor

Vendor Severity: High

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-54897

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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:U/RL:O/RC:C

CVSS v4

Risk Factor: Low

Base Score: 2.1

Threat Score: 0.5

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/19/2026

Vulnerability Publication Date: 6/19/2026

Reference Information

CVE: CVE-2026-54897

cwe: CWE-416