GHSA-w44m-8mv2-v78h: Duplicate Advisory Cosmos "Barberry" Vulnerability Vulnerability

MODERATE
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-w44m-8mv2-v78h
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Duplicate Advisory
Package Ecosystem Go
Published Date
Last Updated

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.

github.com/cosmos/cosmos-sdk fixed: 0.46.13
Upgrade github.com/cosmos/cosmos-sdk to 0.46.13
github.com/cosmos/cosmos-sdk fixed: 0.47.3
Upgrade github.com/cosmos/cosmos-sdk to 0.47.3
Verify Direct and Transitive Dependencies

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

## Withdrawn This advisory has been withdrawn because it is a duplicate of GHSA-j2cr-jc39-wpx5. This link is maintained to preserve external references. ## Original Description The cosmos-sdk module is affected by the vulnerability codenamed "Barberry".

GHSA-w44m-8mv2-v78h Affected Duplicate Advisory Versions

2 component(s)
Fixed Versions:
0.46.130.47.3
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?
GHSA-w44m-8mv2-v78h is a security vulnerability in Duplicate Advisory involving Cosmos "Barberry" vulnerability in github.com/cosmos/cosmos-sdk under General Security Weakness.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 0.46.13, 0.47.3 across affected packages: github.com/cosmos/cosmos-sdk.
What version fixes GHSA-w44m-8mv2-v78h?
Upgrading to 0.46.13, 0.47.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/cosmos/cosmos-sdk affected?
Yes, github.com/cosmos/cosmos-sdk is affected in releases prior to 0.46.13, 0.47.3. Upgrade your dependency to 0.46.13, 0.47.3 or later.
What CWE is associated with GHSA-w44m-8mv2-v78h?
GHSA-w44m-8mv2-v78h is classified under General Security Weakness.
How can I check Go dependencies for GHSA-w44m-8mv2-v78h?
Run the dependency tree command: 'inspect dependencies for github.com/cosmos/cosmos-sdk'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}