CVE-2022-46173

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:elrond:elrond_go:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:30

Type Values Removed Values Added
Summary
  • (es) Elrond-GO es una implementación del protocolo Elrond Network. Las versiones anteriores a la 1.3.50 están sujetas a un problema de procesamiento en el que los nodos se ven afectados al intentar procesar una transacción retransmitida entre fragmentos con datos de transacción de implementación de contrato inteligente. El problema era una mala correlación entre los cachés de transacciones y el componente de procesamiento. Si la transacción mencionada anteriormente se envió con más gas del requerido, el resultado del contrato inteligente (transacción SCR) que debería haber devuelto el gas sobrante, se habría agregado erróneamente a un caché que la unidad de procesamiento no consideró. El nodo dejó de certificar ante notario los bloques de metacadena. En realidad, la solución fue extender la búsqueda de transacciones SCR en todos los demás cachés si no se encontraba en el caché fragmentado correcto (esperado). No se conocen workarounds en este momento. Este problema se solucionó en la versión 1.3.50.
CVSS v2 : unknown
v3 : 6.5
v2 : unknown
v3 : 7.2
References () https://github.com/ElrondNetwork/elrond-go/commit/39d7ddcb08bb34217dab6daef7cd9d287fb8cab3 - Patch, Third Party Advisory () https://github.com/ElrondNetwork/elrond-go/commit/39d7ddcb08bb34217dab6daef7cd9d287fb8cab3 - Patch, Third Party Advisory
References () https://github.com/ElrondNetwork/elrond-go/pull/4718 - Patch, Third Party Advisory () https://github.com/ElrondNetwork/elrond-go/pull/4718 - Patch, Third Party Advisory
References () https://github.com/ElrondNetwork/elrond-go/security/advisories/GHSA-p228-4mrh-ww7r - Third Party Advisory () https://github.com/ElrondNetwork/elrond-go/security/advisories/GHSA-p228-4mrh-ww7r - Third Party Advisory

Information

Published : 2022-12-28 07:15

Updated : 2024-11-21 07:30


NVD link : CVE-2022-46173

Mitre link : CVE-2022-46173

CVE.ORG link : CVE-2022-46173


JSON object : View

Products Affected

elrond

  • elrond_go
CWE
CWE-669

Incorrect Resource Transfer Between Spheres