SCA: security update for oj (GHSA-35w3-pjm6-wj95)

low Tenable Cloud Security Plugin ID 443713

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. In versions prior to
3.17.2, when in object mode, Oj.dump is vulnerable to a heap buffer overflow when serializing Exception
objects with a large :indent value. The serializer allocates a buffer sized for the object's attributes
but does not account for the indent bytes added on each write. With indent: 5000, the accumulation of
5,000-byte indent strings overflows the 13,150-byte heap allocation, corrupting adjacent heap memory. This
issue has been fixed in version 3.17.2. (CVE-2026-54896)

Solution

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

See Also

https://github.com/advisories/GHSA-35w3-pjm6-wj95

Plugin Details

Severity: Low

ID: 443713

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 6/20/2026

Updated: 7/6/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.03

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

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:H/I:N/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-54896

cwe: CWE-122