GitHub Advisoryadvisory · Go
GHSA-qf7j-25g9-r63f elrond-go MultiESDTNFTTransfer call on a SC address with missing function name
HIGH
Official page ↗
- Aliases
- CVE-2022-36058
- Ecosystem
- Go
- Packages
- github.com/ElrondNetwork/elrond-go
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-20
- Reviewed
- 2022-09-01
Affected packages
• Go github.com/ElrondNetwork/elrond-go: < 1.3.34 → fixed in 1.3.34
Description
Impact
Anyone who uses elrond-go to process blocks (historical or actual) that contains a transaction like this: `MultiESDTNFTTransfer@01@54444558544b4b5955532d323631626138@00@0793afc18c8da2ca@` (mind the missing function name after the last `@`)
Basic functionality like p2p messaging, storage, API requests and such are unaffected.
Patches
Patch v1.3.34 or higher
Workarounds
No workarounds
References
For future reference, one can observe the following integration test:
[[provide the link to the integration test]](https://github.com/ElrondNetwork/elrond-go/blob/8e402fa6d7e91e779980122d3798b2bf50892945/integrationTests/vm/txsFee/asyncESDT_test.go#L402)
For more information
If you have any questions or comments about this advisory:
• Open an issue in elrond-go (http://github.com/ElrondNetwork/elrond-go/issues)
Related
Alias · CVE (1)
- CVE-2022-36058 Elrond go is the go implementation for the Elrond Network protocol. vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://github.com/ElrondNetwork/elrond-go/security/advisories/GHSA-qf7j-25g9-r63f web
- https://nvd.nist.gov/vuln/detail/CVE-2022-36058 advisory
- https://github.com/ElrondNetwork/elrond-go/commit/cb487fd7be2a2077638eb34ae771a73630c870c7 web
- https://github.com/ElrondNetwork/elrond-go package
- https://github.com/ElrondNetwork/elrond-go/blob/8e402fa6d7e91e779980122d3798b2bf50892945/integrationTests/vm/txsFee/asyncESDT_test.go#L402 web