{"id":"GHSA-c653-6hhg-9x92","revision":null,"records":[{"revision":"abcc33c5ad4848b9b879b3b10a357731","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2023-22460","aliases":[],"title":"go-ipld-prime json codec may panic if asked to encode bytes","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.","state":0,"publishedAt":"2023-01-04T14:53:19.877+00:00","modifiedAt":"2026-08-27T03:42:58.484+00:00","affected":[{"ecosystem":"Vendor product","name":"go-ipld-prime","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"ipld\",\n                    \"product\": \"go-ipld-prime\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.19.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-c653-6hhg-9x92","https://github.com/ipld/go-ipld-prime/pull/472","https://github.com/ipld/go-ipld-prime/releases/tag/v0.19.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-22460","license":"CVE Program Terms of Use","key":"cve-program:CVE-2023-22460","identifiers":["CVE-2023-22460"]},"retained":false,"historicalAffected":[]},{"revision":"0f96823ebc724ecc9ae4927b09ceabb9","observedAt":"2026-11-20T05:23:58.986+00:00","statement":{"source":"euvd","id":"EUVD-2023-0438","aliases":["CVE-2023-22460","GHSA-c653-6hhg-9x92"],"title":"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 contain…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":null}],"references":["https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-c653-6hhg-9x92","https://github.com/ipld/go-ipld-prime/pull/472","https://github.com/ipld/go-ipld-prime/releases/tag/v0.19.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-0438","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jan 4, 2023, 2:53:19 PM","dateUpdated":"Aug 27, 2026, 3:42:58 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2023-0438","identifiers":["EUVD-2023-0438","CVE-2023-22460","GHSA-c653-6hhg-9x92"]},"retained":false,"historicalAffected":[]},{"revision":"dd75e30499624cbab27a43fc9e2de625","observedAt":"2026-10-24T21:17:22.405+00:00","statement":{"source":"nvd","id":"CVE-2023-22460","aliases":[],"title":"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 contain…","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.","state":0,"publishedAt":"2023-01-04T15:15:09.437+00:00","modifiedAt":"2026-08-27T04:16:39.52+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-22460","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-20"],"productCriteria":["cpe:2.3:a:protocol:go-ipld-prime:*:*:*:*:*:go:*:*"],"sourceDates":{"published":"2023-01-04T15:15:09.437","lastModified":"2026-08-27T04:16:39.520"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2023-22460","identifiers":["CVE-2023-22460"]},"retained":false,"historicalAffected":[]},{"revision":"ea297359bbfb462ead4a82993f4789c8","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-c653-6hhg-9x92","aliases":["CVE-2023-22460","GO-2023-1269"],"title":"go-ipld-prime/codec/json may panic if asked to encode bytes","description":"`go-ipld-prime` is a series of Go interfaces for manipulating IPLD data and a Go module that contains the `go-ipld-prime/codec/json` codec.\n\n### Impact\n\nEncoding 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 encoding should be treated as an error, as plain JSON should not be able to encode Bytes.\n\n**This only impacts uses of the \"json\" codec, \"dag-json\" is not impacted.** Use of \"json\" as a decoder is not impacted.\n\n### Patches\n\nFixed in v0.19.0.\n\n### Workarounds\n\nPrefer the \"dag-json\" codec which has the ability to [encode bytes](https://ipld.io/specs/codecs/dag-json/spec/#bytes).\n\n### References\n\nSee fix in [#472](https://github.com/ipld/go-ipld-prime/pull/472)","state":0,"publishedAt":"2023-01-05T12:04:09+00:00","modifiedAt":"2023-11-08T04:11:35.552164+00:00","affected":[{"ecosystem":"Go","name":"github.com/ipld/go-ipld-prime","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.19.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-c653-6hhg-9x92","https://nvd.nist.gov/vuln/detail/CVE-2023-22460","https://github.com/ipld/go-ipld-prime/pull/472","https://github.com/ipld/go-ipld-prime/commit/146d1c8529676fe9ee0604f014656af2395505fc","https://github.com/ipld/go-ipld-prime","https://github.com/ipld/go-ipld-prime/releases/tag/v0.19.0","https://pkg.go.dev/vuln/GO-2023-1269"],"sourceUrl":"https://github.com/advisories/GHSA-c653-6hhg-9x92","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-c653-6hhg-9x92","identifiers":["GHSA-c653-6hhg-9x92","CVE-2023-22460","GO-2023-1269"]},"retained":false,"historicalAffected":[]},{"revision":"cdec9d94969e409f9270f8c699cf4213","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2023-1269","aliases":["CVE-2023-22460","GHSA-c653-6hhg-9x92"],"title":"Panic in encoding in github.com/ipld/go-ipld-prime","description":"Encoding data using the 'json' codec which contains a 'Bytes' type Node will cause the encoder to panic. The decoder is not impacted. If the codec is used to encode user supplied data, this may be used as a vector for a denial of service attack.","state":0,"publishedAt":"2023-01-18T18:07:08+00:00","modifiedAt":"2024-05-20T16:03:47+00:00","affected":[{"ecosystem":"Go","name":"github.com/ipld/go-ipld-prime","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.19.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-c653-6hhg-9x92","https://github.com/ipld/go-ipld-prime/pull/472"],"sourceUrl":"https://osv.dev/vulnerability/GO-2023-1269","license":"OSV · upstream source license applies","key":"osv:GO-2023-1269","identifiers":["GO-2023-1269","CVE-2023-22460","GHSA-c653-6hhg-9x92"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-20T21:47:54.8999438+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-20T21:47:54.8999438+00:00","lastSuccessAt":"2026-11-20T21:47:55.096099+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:47:55.0960997+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-ab394367b327976f2e615091908e1dede6760751304792bb06c748f95767cbef-06458e1cc57802c5891e9ed128c2091e7fafc89eb0e76bf9a478b4f5a19e5b96","complete":true,"records":429984,"lastAttemptAt":"2026-11-20T21:46:07.9075861+00:00","lastSuccessAt":"2026-11-20T21:46:07.7897326+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:46:07.9075861+00:00","snapshotPublishedAt":"2026-11-20T21:19:23+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e94511cbee314bc8a6f7f1c517971406","complete":false,"records":13914,"lastAttemptAt":"2026-11-20T21:48:48.3615466+00:00","lastSuccessAt":"2026-11-20T21:48:48.356+00:00","error":"52 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-20T21:48:48.356+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13910,"expectedIdentifiers":13962,"failedIdentifiers":52},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-20T21:47:54.8999438+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-20T21:47:54.8999438+00:00","lastSuccessAt":"2026-11-20T21:47:55.0972032+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:47:55.0972036+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-70b73b30b06d4c579e9231c434b0bb26","complete":false,"records":13926,"lastAttemptAt":"2026-11-20T21:48:20.4042966+00:00","lastSuccessAt":"2026-11-20T21:48:20.4+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:48:20.4+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13944,"expectedIdentifiers":13962,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-a479762f093c173daaf94ab78c6e1c5dc2a2542cfb360d0428239181880c03b4","complete":true,"records":9988,"lastAttemptAt":"2026-11-20T21:47:54.8522629+00:00","lastSuccessAt":"2026-11-20T15:48:09.8429817+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:47:54.8522629+00:00","snapshotPublishedAt":"2026-11-20T15:18:25+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-20T21:46:07.9771913+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:46:07.9771913+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-0d57516b4a7264d7a3e50d41b832d65b6f43cdd6a79ce9e39aca7fd9f0df1b84","complete":true,"records":3208,"lastAttemptAt":"2026-11-20T21:47:54.8659527+00:00","lastSuccessAt":"2026-11-20T18:47:57.1855043+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:47:54.8659527+00:00","snapshotPublishedAt":"2026-11-20T17:03:30+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-6376b86631b8ab9df18a41f5f5342631b4c3060bd612e6b897303fe464a86a58","complete":true,"records":232843,"lastAttemptAt":"2026-11-20T21:47:54.7195057+00:00","lastSuccessAt":"2026-11-20T21:47:53.6119003+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:47:54.7195057+00:00","snapshotPublishedAt":"2026-11-20T21:33:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}