Advisory

GHSA-f854-hpxv-cw9r

Also known as: CVE-2021-43839

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-01-06 18:30 UTC
Modified
2026-07-08 06:29 UTC

Affected packages and fixes

github.com/crypto-org-chain/cronos

Go · All systems

Affected

  • introduced 0, fixed 0.6.5 (semver)

Fixed versions

0.6.5

Fix

github.com/tharsis/ethermint

Go · All systems

Affected

  • introduced 0.8.0, fixed 0.10.0 (semver)

Fixed versions

0.10.0

Fix

github.com/tharsis/evmos

Go · All systems

Affected

  • introduced 0, last affected 0.4.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/tharsis/ethermint

Go · All systems

Affected

  • introduced 0, fixed 0.7.3 (semver)

Fixed versions

0.7.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