LowGO-2023-1861GHSA-j2cr-jc39-wpx5GHSA-w44m-8mv2-v78h

Cosmos "Barberry" vulnerability in github.com/cosmos/cosmos-sdk

Published 22 Jun 2023 · Updated 20 May 2024

Is your project on an affected github.com/cosmos/cosmos-sdk?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<0.46.13 · >=0.47.0 <0.47.3
Fixed in
0.46.13, 0.47.3
Update to the fixed version for your release line, for example:go get github.com/cosmos/cosmos-sdk@v0.47.3

Details

The cosmos-sdk module is affected by the vulnerability codenamed "Barberry".

Is GO-2023-1861 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/cosmos/cosmos-sdk, and gives you the command that fixes it.

More advisories for github.com/cosmos/cosmos-sdk

  • LowGO-2025-3803Integer Overflow vulnerability in its Validator Rewards pool can cause a chain halt in github.com/cosmos/cosmos-sdk · 28 Jul 2025
  • HighGHSA-p22h-3m2v-cmghCosmos SDK's Integer Overflow vulnerability in its Validator Rewards pool can cause a chain halt · 8 Jul 2025
  • LowGO-2025-3516Cosmos SDK can halt when erroring in EndBlocker in github.com/cosmos/cosmos-sdk/ · 18 Mar 2025
  • HighGHSA-47ww-ff84-4jrgCosmos SDK: x/group can halt when erroring in EndBlocker · 12 Mar 2025
  • LowGO-2025-3476Cosmos SDK: Groups module can halt chain when handling a malicious proposal in github.com/cosmos/cosmos-sdk · 3 Mar 2025
  • HighGHSA-x5vx-95h7-rv4pCosmos SDK: Groups module can halt chain when handling a malicious proposal · 20 Feb 2025
All 23 advisories for github.com/cosmos/cosmos-sdk

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.