GHSA-f854-hpxv-cw9r

Suggest an improvement
Source
https://github.com/advisories/GHSA-f854-hpxv-cw9r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-f854-hpxv-cw9r/GHSA-f854-hpxv-cw9r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f854-hpxv-cw9r
Aliases
Related
Published
2022-01-06T18:30:54Z
Modified
2023-11-08T04:07:14.162844Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Drainage of FeeCollector's Block Transaction Fees in cronos
Details

Impact

In Cronos nodes running versions before v0.6.5, it is possible to take transaction fees from Cosmos SDK's FeeCollector for the current block by sending a custom crafted MsgEthereumTx.

User funds and balances are safe.

Patches

This problem has been patched in Cronos v0.6.5 on the mempool level. The next network upgrade with consensus-breaking changes will patch it on the consensus level.

Workarounds

There are no tested workarounds. All validator node operators are recommended to upgrade to Cronos v0.6.5 at their earliest possible convenience.

Credits

Thank you to @zb3 for reporting this issue on Cronos Immunefi Bug Bounty Program, to @cyril-crypto for reproducing the issue and to @yihuang and @thomas-nguy for patching the issue on the CheckTx (mempool) and the DeliverTx (consensus) levels.

For more information

If you have any questions or comments about this advisory: * Open a discussion in crypto-org-chain/cronos * Email us at chain@crypto.org

Database specific
{
    "nvd_published_at": "2021-12-21T17:15:00Z",
    "cwe_ids": [
        "CWE-670"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-01-04T22:40:01Z"
}
References

Affected packages

Go / github.com/crypto-org-chain/cronos

Package

Name
github.com/crypto-org-chain/cronos
View open source insights on deps.dev
Purl
pkg:golang/github.com/crypto-org-chain/cronos

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.5

Go / github.com/tharsis/ethermint

Package

Name
github.com/tharsis/ethermint
View open source insights on deps.dev
Purl
pkg:golang/github.com/tharsis/ethermint

Affected ranges

Type
SEMVER
Events
Introduced
0.8.0
Fixed
0.10.0

Go / github.com/tharsis/evmos

Package

Name
github.com/tharsis/evmos
View open source insights on deps.dev
Purl
pkg:golang/github.com/tharsis/evmos

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.4.2

Go / github.com/tharsis/ethermint

Package

Name
github.com/tharsis/ethermint
View open source insights on deps.dev
Purl
pkg:golang/github.com/tharsis/ethermint

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.3