github.com/cosmos/cosmos-sdk
Affected
- introduced
0.46.0, fixed0.46.13(semver)
Fixed versions
0.46.13
Fix
- Fixed version
0.46.13go get github.com/cosmos/[email protected]
Advisory
Also known as: GHSA-w44m-8mv2-v78h, GO-2023-1861
Barberry Security Advisory - regarding x/auth periodic vesting accounts
Impact
In PeriodicVestingAccount, defined in x/auth, an attacker can initialize a victim's account as a malicious vesting account, which allows deposits but does not allow withdrawals. When the user then deposits funds into their account, those funds are locked forever, and the user is not able to withdraw them.
Patches
\>= v0.46.13 for Cosmos SDK v0.46.x
\>= v0.47.3 for Cosmos SDK v0.47.x
If a network backported periodic vesting accounts to earlier versions of the SDK, those networks are affected too.
Workarounds
There is no workaround for this issue. Upgrade immediately.
References
Medium Basis: The source's own band: MODERATE
0.46.0, fixed 0.46.13 (semver)0.46.13
0.46.13go get github.com/cosmos/[email protected]0.47.0, fixed 0.47.3 (semver)0.47.3
0.47.3go get github.com/cosmos/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0