Vulnerability · Published Jul 13, 2023 · Assigned by GitHub_M
CVE-2023-34458mx-chain-go's relayed transactions always increment nonce
High 7.1
In plain English
A high-severity uncontrolled resource consumption in mx-chain-go from multiversx. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
mx-chain-go is the official implementation of the MultiversX blockchain protocol, written in golang. When executing a relayed transaction, if the inner transaction failed, it would have increased the inner transaction's sender account nonce. This could have contributed to a limited DoS attack on a targeted account. The fix is a breaking change so a new flag `RelayedNonceFixEnableEpoch` was needed. This was a strict processing issue while validating blocks on a chain. This vulnerability has been patched in version 1.4.17.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/multiversx/mx-chain-go | 1.4.17 | GHSA-j494-7x2v-vvvp |
| Go | github.com/multiversx/mx-chain-go | 1.4.17 | GO-2023-1912 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| multiversx | mx-chain-go | < 1.4.17 |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H
References
- https://github.com/multiversx/mx-chain-go/security/advisories/GHSA-j494-7x2v-vvvp x_refsource_CONFIRM
- https://github.com/multiversx/mx-chain-go/commit/babdb144f1316ab6176bf3dbd7d4621120414d43 x_refsource_MISC
- https://github.com/multiversx/mx-chain-go/blob/babdb144f1316ab6176bf3dbd7d4621120414d43/integrationTests/vm/txsFee/relayedMoveBalance_test.go#LL165C14-L165C14 x_refsource_MISC
- https://github.com/multiversx/mx-chain-go/releases/tag/v1.4.17 x_refsource_MISC