Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ipld/go-codec-dagpb
  4. ›
  5. CVE-2022-2584

CVE-2022-2584: Improper Restriction of Operations within the Bounds of a Memory Buffer

December 28, 2022 (updated January 10, 2023)

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

References

  • github.com/advisories/GHSA-967g-cjx4-h7j6
  • github.com/ipld/go-codec-dagpb/commit/a17ace35cc760a2698645c09868f9050fa219f57
  • nvd.nist.gov/vuln/detail/CVE-2022-2584
  • pkg.go.dev/vuln/GO-2022-0422

Code Behaviors & Features

Detect and mitigate CVE-2022-2584 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.3.1 before 1.5.0

Fixed versions

  • v1.5.0

Solution

Upgrade to version 1.5.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

go/github.com/ipld/go-codec-dagpb/CVE-2022-2584.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:07 +0000.