Security mailing lists by PureSourceCode

GO-2023-1861

MEDIUM

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
Published
22 Jun 2023
Last modified
20 May 2024
Also known as
GHSA-j2cr-jc39-wpx5GHSA-w44m-8mv2-v78h
Sources
OSV GHSA-j2cr-jc39-wpx5JSONOSV GHSA-w44m-8mv2-v78hJSONOSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/cosmos/cosmos-sdk >= 0.46.0, < 0.46.13 0.46.13
OSV Go github.com/cosmos/cosmos-sdk >= 0.47.0, < 0.47.3 0.47.3
OSV Go github.com/cosmos/cosmos-sdk < 0.46.13; >= 0.47.0, < 0.47.3 0.46.13, 0.47.3

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jun 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jun 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Jul 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.