CVE-2022-46173
vulnerability analysis and mitigation

Overview

Elrond-GO, a Go implementation for the Elrond Network protocol, was found to contain a processing vulnerability (CVE-2022-46173) affecting versions prior to 1.3.50. The vulnerability was discovered and disclosed on December 28, 2022. The issue affects nodes when processing cross-shard relayed transactions with smart contract deploy transaction data (GitHub Advisory).

Technical details

The vulnerability stems from a bad correlation between transaction caches and the processing component. When a transaction is sent with more gas than required, the smart contract result (SCR transaction) that should return the leftover gas is incorrectly added to a cache that the processing unit does not consider. This results in the node stopping its notarization of metachain blocks. The CVSS v3.1 score for this vulnerability is 6.5 (Medium) according to NVD, while GitHub rates it at 7.2 (High) (NVD).

Impact

The primary impact of this vulnerability is that affected nodes stop notarizing metachain blocks, which can disrupt the normal operation of the blockchain network. This occurs specifically when processing cross-shard relayed transactions with smart contract deploy transaction data that contain excess gas (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.3.50 of Elrond-GO. The fix extends the SCR transaction search to all other caches if it isn't found in the correct (expected) sharded-cache. No workarounds were available prior to the patch, making upgrading to version 1.3.50 or later the only solution (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management