Read the docs
TI-2023-08709 Aliases CVE-2023-22460GHSA-c653-6hhg-9x92

go-ipld-prime json codec may panic if asked to encode bytes

Priority MEDIUM 41CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01165 67th percentileScored 2026-11-07
Fix Fixed go-ipld-prime (ipld): 0.19.0github.com/ipld/go-ipld-prime (Go): 0.19.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ipldgo-ipld-primebefore 0.19.00.19.0Patch availableCNA
—github.com/ipld/go-ipld-prime (Go)before 0.19.00.19.0Patch availableGHSA-c653-6hhg-9x92
  • go-ipld-prime Vendoripld Affected before 0.19.0 Fixed in 0.19.0 Patch available CNA
  • github.com/ipld/go-ipld-prime (Go) Vendor— Affected before 0.19.0 Fixed in 0.19.0 Patch available GHSA-c653-6hhg-9x92

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:protocol:go-ipld-prime:*:*:*:*:*:go:*:*before 0.19.0VulnerableProtocol
  • cpe:2.3:a:protocol:go-ipld-prime:*:*:*:*:*:go:*:* Versions before 0.19.0 Vulnerable ·Protocol

Remediation

  • Fix · CNA go-ipld-prime (ipld) Fixed in 0.19.0
  • Fix · GHSA-c653-6hhg-9x92 github.com/ipld/go-ipld-prime (Go) Fixed in 0.19.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-22460
  2. 2026-10-03 Alias added: GHSA-c653-6hhg-9x92

References

  • TI-2026-30634 go-ipld-prime: DAG-CBOR and DAG-JSON decoders unbounded recursion depth CVSS 3.1MEDIUM 6.2

Sources