CVE-2023-34449

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-34449
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-34449.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-34449
Aliases
Published
2023-06-14T21:15:09Z
Modified
2024-06-06T14:24:44.739444Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/paritytech/ink

Affected ranges

Type
GIT
Repo
https://github.com/paritytech/ink
Events
Type
GIT
Repo
https://github.com/use-ink/ink
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

latest-v2

v2.*

v2.0.0
v2.1.0

v3.*

v3.0.0
v3.0.0-rc1
v3.0.0-rc2
v3.0.0-rc3
v3.0.0-rc4
v3.0.0-rc5
v3.0.0-rc6
v3.0.0-rc7
v3.0.0-rc8
v3.0.0-rc9
v3.0.1
v3.1.0
v3.2.0

v4.*

v4.0.0
v4.0.0-alpha.1
v4.0.0-alpha.3
v4.0.0-beta
v4.0.0-beta.1
v4.0.0-rc
v4.0.1
v4.1.0
v4.2.0