Security mailing lists by PureSourceCode

CVE-2023-34449

MEDIUM 5.3CVSS 3.1

ink! vulnerable to incorrect decoding of storage value when using `DelegateCall`

ink! is an embedded domain specific language to write smart contracts in Rust for blockchains built on the Substrate framework. Starting in version 4.0.0 and prior to version 4.2.1, the return value when using delegate call mechanics, either through CallBuilder::delegate or ink_env::invoke_contract_delegate, is decoded incorrectly. This bug was related to the mechanics around decoding a call's return buffer, which was changed as part of pull request 1450. Since this feature was only released in ink! 4.0.0, no previous versions are affected. Users who have an ink! 4.x series contract should upgrade to 4.2.1 to receive a patch.

Published
14 Jun 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-253CWE-754
Also known as
GHSA-853p-5678-hv8f
Sources
NVDJSONOSV GHSA-853p-5678-hv8fJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD parity ink!
cpe:2.3:a:parity:ink\!:*:*:*:*:*:rust:*:*
>= 4.0.0, < 4.2.1 4.2.1
OSV crates.io ink >= 4.0.0, < 4.2.1 4.2.1
OSV crates.io ink_env >= 4.0.0, < 4.2.1 4.2.1

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 14 Jun 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.