CVE-2022-46173 Elrond go Processing: fallback search of SCRs when not found in the main cache
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| elrond go | < 1.3.50 | 1.3.50 | Fixed |
| ElrondNetwork github.com/ElrondNetwork/elrond-go(Go) | < 1.3.50; <= 1.3.48 | 1.3.50 | Fixed |
| ElrondNetwork github.com/ElrondNetwork/elrond-go | = < 1.3.50 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ElrondNetwork github.com/ElrondNetwork/elrond-go(Go) | <= 1.3.48 | No fix listed |
| ElrondNetwork github.com/ElrondNetwork/elrond-go(Go) | < 1.3.50 | 1.3.50 |
| ElrondNetwork github.com/ElrondNetwork/elrond-go | = < 1.3.50 | No fix listed |
| elrond go | < 1.3.50 | 1.3.50 |
References
- https://github.com/ElrondNetwork/elrond-go/security/advisories/GHSA-p228-4mrh-ww7r third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/ElrondNetwork/elrond-go/pull/4718 patch third-party-advisory
- https://github.com/ElrondNetwork/elrond-go/commit/39d7ddcb08bb34217dab6daef7cd9d287fb8cab3 patch third-party-advisory
- github.com
- github.com product