Protocol Go-Ipld-Prime
CVE-2023-22460
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.
What this means for your business
- It affects Protocol Go-Ipld-Prime. It matters if your company, or a supplier that handles your data, runs it.
- An attacker can use it remotely, over a network, without a login, and without anyone at your company clicking anything.
- FIRST's prediction model gives it a 1.0% chance of attack attempts being seen in the next 30 days, ranking above 60% of all known flaws.
What to do
- 1Check whether your company or your suppliers run Protocol Go-Ipld-Prime, and which version. The affected versions are listed further down this page.
- 2If you do, apply the vendor's fix. A patch or vendor advisory has been published.
Not sure if your company is exposed?
Fastnexa’s certified penetration testers can check whether attackers could use this flaw, or others like it, against your websites, apps and network. The full test is free for our first 10 founding clients until 31 December 2026.
Scoring
- CVSS
- 7.5 (v3.1)
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness
- CWE-20
- Assigned by
- security-advisories@github.com
Dates
- Published
- 2023-01-04
- Last modified
- 2026-08-27
- Sources
- NVD
Affected products
- Protocol Go-Ipld-Prime- 0.19.0
As listed in the NVD configuration data. Not a statement about your estate.
References
- https://github.com/ipld/go-ipld-prime/pull/472
- https://github.com/ipld/go-ipld-prime/releases/tag/v0.19.0
- https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-c653-6hhg-9x92
- http://www.openwall.com/lists/oss-security/2026/08/27/1
- https://github.com/ipld/go-ipld-prime/pull/472
- https://github.com/ipld/go-ipld-prime/releases/tag/v0.19.0
- https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-c653-6hhg-9x92