CVE-2022-2584Protocol Go-codec-dagpb
High 7.5 No auth needed
Follow: this CVE · Protocol · Protocol Go-codec-dagpb We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 58
- Auth required
- No
- Published
- Dec 27, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
The dag-pb codec can panic when decoding invalid blocks.
What to do
- Apply the vendor's security update for Go-codec-dagpb.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/ipld/go-codec-dagpb |
< 1.3.1 |
1.3.1 |
go get github.com/ipld/go-codec-dagpb@v1.3.1 |
| Go | github.com/ipld/go-codec-dagpb |
< 1.3.1 |
1.3.1 |
go get github.com/ipld/go-codec-dagpb@v1.3.1 |
Per OSV / GitHub Advisories (GHSA-g3vv-g2j5-45f2, GO-2022-0422). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| protocol | go-codec-dagpb | < 1.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- pkg.go.dev Patch Vendor Advisory