Advisory

GHSA-j2cr-jc39-wpx5

Also known as: GHSA-w44m-8mv2-v78h, GO-2023-1861

Summary

Barberry Security Advisory - regarding x/auth periodic vesting accounts

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-07-07 18:34 UTC
Modified
2023-11-08 04:20 UTC

Affected packages and fixes

github.com/cosmos/cosmos-sdk

Go · All systems

Affected

  • introduced 0.46.0, fixed 0.46.13 (semver)

Fixed versions

0.46.13

Fix

github.com/cosmos/cosmos-sdk

Go · All systems

Affected

  • introduced 0.47.0, fixed 0.47.3 (semver)

Fixed versions

0.47.3

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences