CVE-2022-2584
HIGH 7.5CVSS 3.1Duplicate Advisory: go-codec-dagpb vulnerable to panic when decoding invalid blocks
The dag-pb codec can panic when decoding invalid blocks.
- Published
- 27 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-119
- Also known as
- GHSA-967g-cjx4-h7j6GHSA-g3vv-g2j5-45f2GO-2022-0422
- Sources
- NVDJSONOSV GHSA-967g-cjx4-h7j6JSONOSV GHSA-g3vv-g2j5-45f2JSONOSV GO-2022-0422JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protocol | go-codec-dagpbcpe:2.3:a:protocol:go-codec-dagpb:*:*:*:*:*:go:*:* |
< 1.3.1 | 1.3.1 |
| OSV | Go | github.com/ipld/go-codec-dagpb | < 1.3.1 | 1.3.1 |
References
- https://github.com/ipld/go-codec-dagpb/commit/a17ace35cc760a2698645c09868f9050fa219f57 · Patch, Third Party Advisory, WEB, FIX
- https://pkg.go.dev/vuln/GO-2022-0422 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-2584 · ADVISORY
- github.com/ipld/go-codec-dagpb · PACKAGE
- https://github.com/ipld/go-codec-dagpb/security/advisories/GHSA-g3vv-g2j5-45f2 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 27 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Apr 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Dec 2022)