ADVISORIES

Go Vulnerability Database

GO-2023-1269

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 packages

EcosystemPackageAffected versions
Gogithub.com/ipld/go-ipld-prime
All versions before 0.19.0 (fixed in 0.19.0)

References