Buffer Overflow Affecting github.com/ipld/go-codec-dagpb package, versions <1.3.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMIPLDGOCODECDAGPB-2635704
  • published13 Apr 2022
  • disclosed8 Apr 2022
  • creditUnknown

Introduced: 8 Apr 2022

CVE-2022-2584  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade github.com/ipld/go-codec-dagpb to version 1.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow due to an assumption that the reported link length is accurate, but if the block ends before that reported length then it’s a buffer overread.

References

CVSS Scores

version 3.1