Advisory

GHSA-p228-4mrh-ww7r

Also known as: CVE-2022-46173, GO-2022-1200

Summary

Elrond-GO processing: fallback search of SCRs when not found in the main cache

Details

Impact
Processing issue, nodes are affected when trying to process a cross-shard relayed transaction with a smart contract deploy transaction data. The problem was a bad correlation between the transaction caches and the processing component. If the above-mentioned transaction was sent with more gas than required, the smart contract result (SCR transaction) that should have returned the leftover gas, would have been wrongly added to a cache that the processing unit did not consider. The node stopped notarizing metachain blocks. The fix was actually to extend the SCR transaction search in all other caches if it wasn't found in the correct (expected) sharded-cache.

Patches
All versions >= v1.3.50 will contain this patch

Workarounds
For the moment there is no workaround

References
N/A

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-12-30 16:57 UTC
Modified
2024-08-21 16:28 UTC

Affected packages and fixes

github.com/ElrondNetwork/elrond-go

Go · All systems

Affected

  • introduced 0, fixed 1.3.50 (semver)

Fixed versions

1.3.50

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