GitHub Advisoryadvisory · Go

GHSA-j2cr-jc39-wpx5 Barberry Security Advisory - regarding x/auth periodic vesting accounts

MEDIUM Published 2023-07-07 Modified 2023-07-07 Official page ↗
Ecosystem
Go
Packages
github.com/cosmos/cosmos-sdk
Severity
Moderate
Reviewed
2023-07-07

Affected packages

• Go github.com/cosmos/cosmos-sdk: >= 0.46.0, < 0.46.13 → fixed in 0.46.13 • Go github.com/cosmos/cosmos-sdk: >= 0.47.0, < 0.47.3 → fixed in 0.47.3

Description

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 • Patched versions release notes: v0.47.3, v0.46.13. • Forum Post

References