CVE-2023-22460: go-ipld-prime json codec may panic if asked to encode bytes
Vulnerability summary
CVE-2023-22460 is a high (CVSS 7.5) Improper Input Validation vulnerability in ipld go-ipld-prime. EPSS estimates a 1.17% chance of exploitation in the next 30 days, higher than 68.3% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 04-01-2023PublishedVulnerability first disclosed.
- 27-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.17%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.17% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/ipld1 product
- go-ipld-prime< 0.19.0
Ipld1 product
- go-ipld-prime< 0.19.0
Protocol1 product
- go-ipld-prime< 0.19.0
3 vendors · 3 products
References
8 links- github.com/ipld/go-ipld-prime/security/advisories/GHSA-c653-6hhg-9x92X Refsource CONFIRMWEBAdvisoryThird Party Advisory
- github.com/ipld/go-ipld-prime/releases/tag/v0.19.0X Refsource MISCWEBRelease NotesThird Party Advisory