Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-2584
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:54 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 27 Dec 2022, 21:13 UTC

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

osv:CVE-2022-2584
Complete source record
{
  "id": "f440f1e52f60bafcd3a99371dc802fee111d2147f45ad2dadf7b1bb30f8a0ac6",
  "url": "https://osv.dev/vulnerability/CVE-2022-2584",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Panic when decoding invalid blocks in github.com/ipld/go-codec-dagpb",
    "summary": "The dag-pb codec can panic when decoding invalid blocks.",
    "evidence": "osv:CVE-2022-2584",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-2584",
      "aliases": [
        "CVE-2022-2584",
        "GHSA-967g-cjx4-h7j6",
        "GHSA-g3vv-g2j5-45f2",
        "GO-2022-0422"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ipld/go-codec-dagpb",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "11064b76b68ce692273d634deff13a234f7d905b"
                },
                {
                  "fixed": "a17ace35cc760a2698645c09868f9050fa219f57"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:protocol:go-codec-dagpb:*:*:*:*:*:go:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a17ace35cc760a2698645c09868f9050fa219f57"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2584.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.896541372Z",
      "provider": "osv",
      "references": [
        "https://pkg.go.dev",
        "https://pkg.go.dev/vuln/GO-2022-0422",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2584.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-2584",
        "https://github.com/ipld/go-codec-dagpb/commit/a17ace35cc760a2698645c09868f9050fa219f57"
      ],
      "provider_metadata": {
        "cna_assigner": "Go",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2584.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-2584",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503214,
  "published_at": "2022-12-27T21:13:51.963+00:00"
}