{"id":"CVE-2023-34458","aliases":["CVE-2023-34458","GHSA-j494-7x2v-vvvp","GO-2023-1912"],"related":[],"kind":"vulnerability","state":"published","title":"mx-chain-go's relayed transactions always increment nonce","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nWhen 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.\n\n### Patches\nv1.4.17 and later versions contain the fix for this issue\n\n### Workarounds\nthere were no workarounds for this issue. The affected account could only wait for the DoS attack to finish as the attack was not free or to attempt to send transactions in a very fast manner so as to compete on the same nonce with the attacker.\n\n### References\nFor the future understanding of this issue, on v1.4.17 and onwards versions, we have this integration test that addresses the issue and tests the fix. \nhttps://github.com/multiversx/mx-chain-go/blob/babdb144f1316ab6176bf3dbd7d4621120414d43/integrationTests/vm/txsFee/relayedMoveBalance_test.go#LL165C14-L165C14","format":"markdown","source":"ghsa"},{"lang":"en","text":"mx-chain-go's relayed transactions always increment nonce in github.com/multiversx/mx-chain-go","format":"markdown","source":"go"}],"published":"2023-07-13T17:02:12.000Z","modified":"2026-06-17T06:03:41.577Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"< 1.4.17","status":"affected"}],"vendor":"multiversx","product":"mx-chain-go","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.17"}],"ecosystem":"Go","package":"github.com/multiversx/mx-chain-go","purl":"pkg:golang/github.com/multiversx/mx-chain-go","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.17"}],"ecosystem":"Go","package":"github.com/multiversx/mx-chain-go","purl":"pkg:golang/github.com/multiversx/mx-chain-go","source":"go"},{"ranges":[{"status":"affected","fixed":"1.4.17"}],"vendor":"multiversx","product":"mx-chain-go","cpe":"cpe:2.3:a:multiversx:mx-chain-go:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/multiversx/mx-chain-go/security/advisories/GHSA-j494-7x2v-vvvp","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/multiversx/mx-chain-go/commit/babdb144f1316ab6176bf3dbd7d4621120414d43","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/multiversx/mx-chain-go/blob/babdb144f1316ab6176bf3dbd7d4621120414d43/integrationTests/vm/txsFee/relayedMoveBalance_test.go#LL165C14-L165C14","tags":["product","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/multiversx/mx-chain-go/releases/tag/v1.4.17","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34458","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/multiversx/mx-chain-go","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T16:07:41.496Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-34458","url":"https://www.cve.org/CVERecord?id=CVE-2023-34458","licence":"CVE Terms of Use","modified":"2024-10-22T16:08:19.599Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j494-7x2v-vvvp","url":"https://github.com/advisories/GHSA-j494-7x2v-vvvp","licence":"CC-BY-4.0","modified":"2024-08-20T20:58:44.223Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1912","url":"https://pkg.go.dev/vuln/GO-2023-1912","licence":"CC-BY-4.0","modified":"2026-03-03T04:54:00.141Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-34458","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34458","licence":"Public domain","modified":"2026-06-17T06:03:41.577Z"}],"updatedAt":"2026-11-25T22:58:25.781Z","epss":{"score":0.0132,"percentile":0.71692,"date":"2026-12-01T12:00:22.000Z"}}