Vulnerability · Published Sep 6, 2022 · Assigned by GitHub_M
CVE-2022-36061Elrond go can execute on same context checks in VM
Medium 6.5
In plain English
A medium-severity security flaw in elrond-go from ElrondNetwork. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Elrond go is the go implementation for the Elrond Network protocol. In versions prior to 1.3.35, read only calls between contracts can generate smart contracts results. For example, if contract A calls in read only mode contract B and the called function will make changes upon the contract's B state, the state will be altered for contract B as if the call was not made in the read-only mode. This can lead to some effects not designed by the original smart contracts programmers. This issue was patched in version 1.3.35. There are no known workarounds.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/ElrondNetwork/elrond-go | 1.3.35 | GHSA-mv8x-668m-53fg |
| Go | github.com/ElrondNetwork/elrond-go | 1.3.35 | GO-2022-0971 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ElrondNetwork | elrond-go | < 1.3.35 |
Weakness: CWE-665 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
References
- https://github.com/ElrondNetwork/elrond-go/security/advisories/GHSA-mv8x-668m-53fg x_refsource_CONFIRM
- https://github.com/ElrondNetwork/elrond-go/blob/8e402fa6d7e91e779980122d3798b2bf50892945/integrationTests/vm/txsFee/asyncESDT_test.go#L452 x_refsource_MISC
- https://github.com/ElrondNetwork/elrond-go/releases/tag/v1.3.35 x_refsource_MISC