GHSA-967g-cjx4-h7j6: Duplicate Advisory Go-codec-dagpb Vulnerable To Panic When Vulnerability
HIGHGHSA-967g-cjx4-h7j6 is a HIGH (CVSS 7.0) go-codec-dagpb vulnerable to panic when vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves go-codec-dagpb vulnerable to panic when decoding invalid blocks. Remediation is available by upgrading affected packages to version 1.3.1.
GHSA-967g-cjx4-h7j6 at a Glance
Security Impact
CVSS: 7.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H).
How to Fix GHSA-967g-cjx4-h7j6
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/ipld/go-codec-dagpb to 1.3.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/ipld/go-codec-dagpb
How to Check if You Are Affected
To determine whether your application is affected by GHSA-967g-cjx4-h7j6, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for github.com/ipld/go-codec-dagpb
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-967g-cjx4-h7j6 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/ipld/go-codec-dagpb
|
Go |
< 1.3.1
|
1.3.1
|
References
Frequently Asked Questions
What is GHSA-967g-cjx4-h7j6?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-967g-cjx4-h7j6?
Is github.com/ipld/go-codec-dagpb affected?
What is the CVSS score of GHSA-967g-cjx4-h7j6?
What CWE is associated with GHSA-967g-cjx4-h7j6?
How can I check Go dependencies for GHSA-967g-cjx4-h7j6?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-967g-cjx4-h7j6",
"modified" : "2026-01-23T22:34:00Z",
"published" : "2022-12-28T00:30:23Z",
"withdrawn" : "2026-01-23T22:34:00Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: go-codec-dagpb vulnerable to panic when decoding invalid blocks",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-g3vv-g2j5-45f2. This link is maintained to preserve external references.\n\n## Original Description\ngo-codec-dagpb is an implementation of the DAG-PB spec for Go. The dag-pb codec can panic when decoding invalid blocks. This issue has been patched in version 1.3.1.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/ipld/go-codec-dagpb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-2584"
}, {
"type" : "WEB",
"url" : "https://github.com/ipld/go-codec-dagpb/commit/a17ace35cc760a2698645c09868f9050fa219f57"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2022-0422"
}, {
"type" : "PACKAGE",
"url" : "github.com/ipld/go-codec-dagpb"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-119" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-12-29T01:51:36Z",
"nvd_published_at" : "2022-12-27T22:15:00Z"
}
}