LowGO-2022-0422CVE-2022-2584GHSA-967g-cjx4-h7j6GHSA-g3vv-g2j5-45f2
Panic when decoding invalid blocks in github.com/ipld/go-codec-dagpb
Published 1 Jul 2022 · Updated 20 May 2024
Is your project on an affected github.com/ipld/go-codec-dagpb?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <1.3.1
- Fixed in
- 1.3.1
Update to the fixed version for your release line, for example:
go get github.com/ipld/go-codec-dagpb@v1.3.1Details
The dag-pb codec can panic when decoding invalid blocks.
Is GO-2022-0422 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/ipld/go-codec-dagpb, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.