CVE-2022-46173
Elrond Go vulnerability
Elrond-GO is a go implementation for the Elrond Network protocol. Versions prior to 1.3.50 are subject to a processing issue where 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. There are no known workarounds at this time. This issue has been patched in version 1.3.50.
Affected products
Elrond Go. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Elrond Go runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ElrondNetwork/elrond-go/commit/39d7ddcb08bb34217dab6daef7cd9d287fb8cab3 · Patch
- github.com/ElrondNetwork/elrond-go/pull/4718 · Patch
- github.com/ElrondNetwork/elrond-go/security/advisories/GHSA-p228-4mrh-ww7r · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-46173
- cve.org/CVERecord?id=CVE-2022-46173
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.