—
GO-2022-0422
Panic when decoding invalid blocks in github.com/ipld/go-codec-dagpb
Quick fix
GO-2022-0422 — github.com/ipld/go-codec-dagpb: upgrade to the fixed version with the command below.
go get github.com/ipld/go-codec-dagpb@v1.3.1Details
The dag-pb codec can panic when decoding invalid blocks.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/ipld/go-codec-dagpb
Introduced in:
0Fixed in: 1.3.1Fix
go get github.com/ipld/go-codec-dagpb@v1.3.1