CVE-2022-2584 json
Panic when decoding invalid blocks in github.com/ipld/go-codec-dagpb
published 2022-04-08 4 y ago modified 2026-06-17 4 mo ago also GHSA-967g-cjx4-h7j6 , GHSA-g3vv-g2j5-45f2 , GO-2022-0422 , EUVD-2022-7573
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
The dag-pb codec can panic when decoding invalid blocks.
Patch / fix
- go github.com/ipld/go-codec-dagpb 1.3.1
- github.com/ipld/go-codec-dagpb github.com/ipld/go-codec-dagpb 1.3.1
- github.com/ipld/go-codec-dagpb@a17ace3 commit
- pkg.go.dev/vuln/GO-2022-0422 advisory
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/ipld/go-codec-dagpb | <1.3.1 |
1.3.1 |
Affected products
- github.com/ipld/go-codec-dagpb github.com/ipld/go-codec-dagpb
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/ipld/go-codec-dagpb/commit/a17ace35cc760a2698645c09868f9050fa219f57
web, patch, third-party-advisory
-
pkg.go.dev
/vuln/GO-2022-0422
web, patch, vendor-advisory
-
github.com
/ipld/go-codec-dagpb/security/advisories/GHSA-g3vv-g2j5-45f2
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-2584
advisory
Sources
- CVE List CVE-2022-2584
- GitHub Advisory GHSA-g3vv-g2j5-45f2
- GitHub Advisory GHSA-967g-cjx4-h7j6
- NVD CVE-2022-2584
- OSV GO-2022-0422
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.