{"schema_version":"1.3.1","id":"GO-2023-1269","modified":"2024-05-20T16:03:47Z","published":"2023-01-18T18:07:08Z","aliases":["CVE-2023-22460","GHSA-c653-6hhg-9x92"],"summary":"Panic in encoding in github.com/ipld/go-ipld-prime","details":"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.","affected":[{"package":{"name":"github.com/ipld/go-ipld-prime","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.19.0"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/ipld/go-ipld-prime/codec/dagjson","symbols":["Encode","EncodeOptions.Encode","Marshal"]}]}}],"references":[{"type":"ADVISORY","url":"https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-c653-6hhg-9x92"},{"type":"FIX","url":"https://github.com/ipld/go-ipld-prime/pull/472"}],"credits":[{"name":"@hacdias"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2023-1269","review_status":"REVIEWED"}}