Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ElrondNetwork/elrond-go
  4. ›
  5. CVE-2022-46173

CVE-2022-46173: Incorrect Resource Transfer Between Spheres

December 28, 2022 (updated November 7, 2023)

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

References

  • github.com/ElrondNetwork/elrond-go/commit/39d7ddcb08bb34217dab6daef7cd9d287fb8cab3
  • github.com/ElrondNetwork/elrond-go/pull/4718
  • github.com/ElrondNetwork/elrond-go/security/advisories/GHSA-p228-4mrh-ww7r
  • github.com/advisories/GHSA-p228-4mrh-ww7r
  • nvd.nist.gov/vuln/detail/CVE-2022-46173

Code Behaviors & Features

Detect and mitigate CVE-2022-46173 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.50

Fixed versions

  • v1.3.50

Solution

Upgrade to version 1.3.50 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-669: Incorrect Resource Transfer Between Spheres

Source file

go/github.com/ElrondNetwork/elrond-go/CVE-2022-46173.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:10 +0000.