{"id":"GO-2023-1269","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.","aliases":["CVE-2023-22460","GHSA-c653-6hhg-9x92"],"modified":"2024-05-20T16:03:47Z","published":"2023-01-18T18:07:08Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2023-1269"},"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"}],"affected":[{"package":{"name":"github.com/ipld/go-ipld-prime","ecosystem":"Go","purl":"pkg:golang/github.com/ipld/go-ipld-prime"},"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"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2023-1269.json"}}],"schema_version":"1.7.3","credits":[{"name":"@hacdias"}]}