Vulnerability · Published Dec 27, 2022 · Assigned by Go

CVE-2022-2584Panic when decoding invalid blocks in github.com/ipld/go-codec-dagpb

High 7.5

In plain English

A high-severity security flaw in github.com/ipld/go-codec-dagpb from github.com/ipld/go-codec-dagpb. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 44.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

The dag-pb codec can panic when decoding invalid blocks.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/ipld/go-codec-dagpb1.3.1GHSA-967g-cjx4-h7j6
Gogithub.com/ipld/go-codec-dagpb1.3.1GHSA-g3vv-g2j5-45f2
Gogithub.com/ipld/go-codec-dagpb1.3.1GO-2022-0422

Affected products (as reported)

VendorProductVersions
github.com/ipld/go-codec-dagpb github.com/ipld/go-codec-dagpb 0 – before 1.3.1

References