Skip to content

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

High severity GitHub Reviewed Published Dec 23, 2022 in multiversx/mx-chain-go • Updated Jan 30, 2023

Package

gomod github.com/ElrondNetwork/elrond-go (Go)

Affected versions

<= 1.3.48

Patched versions

1.3.50

Description

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:

References

@iulianpascalau iulianpascalau published to multiversx/mx-chain-go Dec 23, 2022
Published by the National Vulnerability Database Dec 28, 2022
Published to the GitHub Advisory Database Dec 30, 2022
Reviewed Dec 30, 2022
Last updated Jan 30, 2023

Severity

High
7.2
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L

Weaknesses

CVE ID

CVE-2022-46173

GHSA ID

GHSA-p228-4mrh-ww7r
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.