GHSA-j2cr-jc39-wpx5
JSON

medium

Barberry Security Advisory - regarding x/auth periodic vesting accounts

Severity
medium rating by GitHub
Published
Last changed
Also known as
GHSA-w44m-8mv2-v78hGO-2023-1861

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

Affected

Product or packageVersionsReported by
github.com/cosmos/cosmos-sdk (Go)from 0.46.0 before 0.46.13, from 0.47.0 before 0.47.3, before 0.46.13GitHub Advisory Database, Go Vulnerability Database

What each source says

GitHub Advisory Database
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
GitHub Advisory Database

Withdrawn

This advisory has been withdrawn because it is a duplicate of GHSA-j2cr-jc39-wpx5. This link is maintained to preserve external references.

Original Description

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

Go Vulnerability Database

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

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-j2cr-jc39-wpx5 changed 2023-11-08CC-BY-4.0
GitHub Advisory DatabaseGHSA-w44m-8mv2-v78h changed 2024-05-07CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1861 changed 2024-05-20CC-BY-4.0