Vulnerability · Published Dec 28, 2022 · Assigned by GitHub_M
CVE-2022-46173Elrond go Processing: fallback search of SCRs when not found in the main cache
High 7.2
In plain English
A high-severity security flaw in elrond-go from ElrondNetwork. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/ElrondNetwork/elrond-go | 1.3.50 | GHSA-p228-4mrh-ww7r |
| Go | github.com/ElrondNetwork/elrond-go | 1.3.50 | GO-2022-1200 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ElrondNetwork | elrond-go | < 1.3.50 |
Weakness: CWE-669 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L