SCA: security update for github.com/ipld/go-ipld-prime (GHSA-c653-6hhg-9x92)

high Tenable Self-Hosted Container Security Plugin ID 413698

Description

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

- go-ipld-prime is an implementation of the InterPlanetary Linked Data (IPLD) spec interfaces, a batteries-
included codec implementations of IPLD for CBOR and JSON, and tooling for basic operations on IPLD
objects. Encoding data which contains a Bytes kind Node will pass a Bytes token to the JSON encoder which
will panic as it doesn't expect to receive Bytes tokens. Such an encode should be treated as an error, as
plain JSON should not be able to encode Bytes. This only impacts uses of the `json` codec. `dag-json` is
not impacted. Use of `json` as a decoder is not impacted. This issue is fixed in v0.19.0. As a workaround,
one may prefer the `dag-json` codec, which has the ability to encode bytes. (CVE-2023-22460)

See Also

https://github.com/advisories/GHSA-c653-6hhg-9x92

Plugin Details

Severity: High

ID: 413698

Version: Revision 1.6

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: 5

Percentile: 94.66

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2023-22460

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/5/2023

Vulnerability Publication Date: 1/4/2023

Reference Information

CVE: CVE-2023-22460

cwe: CWE-20