GHSA-w44m-8mv2-v78h: Duplicate Advisory Cosmos "Barberry" Vulnerability Vulnerability
MODERATEGHSA-w44m-8mv2-v78h is a MODERATE cosmos "barberry" vulnerability vulnerability (General Security Weakness) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves cosmos "barberry" vulnerability in github.com/cosmos/cosmos-sdk. Remediation is available by upgrading affected packages to version 0.46.13, 0.47.3.
GHSA-w44m-8mv2-v78h at a Glance
How to Fix GHSA-w44m-8mv2-v78h
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/cosmos/cosmos-sdk to 0.46.13
Upgrade github.com/cosmos/cosmos-sdk to 0.47.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cosmos/cosmos-sdk
How to Check if You Are Affected
To determine whether your application is affected by GHSA-w44m-8mv2-v78h, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for github.com/cosmos/cosmos-sdk
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 0.46.13), 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 General Security Weakness. 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-w44m-8mv2-v78h Affected Duplicate Advisory Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/cosmos/cosmos-sdk
|
Go |
≥ 0.46.0
< 0.46.13
|
0.46.13
|
|
github.com/cosmos/cosmos-sdk
|
Go |
≥ 0.47.0
< 0.47.3
|
0.47.3
|
References
Frequently Asked Questions
What is GHSA-w44m-8mv2-v78h?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-w44m-8mv2-v78h?
Is github.com/cosmos/cosmos-sdk affected?
What CWE is associated with GHSA-w44m-8mv2-v78h?
How can I check Go dependencies for GHSA-w44m-8mv2-v78h?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w44m-8mv2-v78h",
"modified" : "2024-05-07T21:32:36Z",
"published" : "2023-06-22T20:01:48Z",
"withdrawn" : "2024-05-07T21:32:36Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Cosmos \"Barberry\" vulnerability in github.com/cosmos/cosmos-sdk",
"details" : "## Withdrawn\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-j2cr-jc39-wpx5. This link is maintained to preserve external references.\n\n## Original Description\n\nThe cosmos-sdk module is affected by the vulnerability codenamed \"Barberry\".",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cosmos/cosmos-sdk"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.46.0"
}, {
"fixed" : "0.46.13"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cosmos/cosmos-sdk"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.47.0"
}, {
"fixed" : "0.47.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cosmos/cosmos-sdk/pull/16466"
}, {
"type" : "WEB",
"url" : "https://forum.cosmos.network/t/cosmos-sdk-security-advisory-barberry/10825"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cosmos/cosmos-sdk"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-22T20:01:48Z",
"nvd_published_at" : null
}
}