CVE-2023-34449
ink! Substrate Delegate Call Decoding Vulnerability
Description
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.
INFO
Published Date :
June 14, 2023, 9:15 p.m.
Last Modified :
June 28, 2023, 8:46 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-34449
.
URL | Resource |
---|---|
https://docs.rs/ink_env/4.2.0/ink_env/call/struct.CallBuilder.html#method.delegate | Exploit Third Party Advisory |
https://docs.rs/ink_env/4.2.0/ink_env/fn.invoke_contract_delegate.html | Exploit Third Party Advisory |
https://github.com/paritytech/ink/commit/f1407ee9f87e5f64d467a22d26ee88f61db7f3db | Patch |
https://github.com/paritytech/ink/pull/1450 | Patch Vendor Advisory |
https://github.com/paritytech/ink/security/advisories/GHSA-853p-5678-hv8f | Exploit Patch Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-34449
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-34449
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jun. 28, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Changed Reference Type https://docs.rs/ink_env/4.2.0/ink_env/call/struct.CallBuilder.html#method.delegate No Types Assigned https://docs.rs/ink_env/4.2.0/ink_env/call/struct.CallBuilder.html#method.delegate Exploit, Third Party Advisory Changed Reference Type https://docs.rs/ink_env/4.2.0/ink_env/fn.invoke_contract_delegate.html No Types Assigned https://docs.rs/ink_env/4.2.0/ink_env/fn.invoke_contract_delegate.html Exploit, Third Party Advisory Changed Reference Type https://github.com/paritytech/ink/commit/f1407ee9f87e5f64d467a22d26ee88f61db7f3db No Types Assigned https://github.com/paritytech/ink/commit/f1407ee9f87e5f64d467a22d26ee88f61db7f3db Patch Changed Reference Type https://github.com/paritytech/ink/pull/1450 No Types Assigned https://github.com/paritytech/ink/pull/1450 Patch, Vendor Advisory Changed Reference Type https://github.com/paritytech/ink/security/advisories/GHSA-853p-5678-hv8f No Types Assigned https://github.com/paritytech/ink/security/advisories/GHSA-853p-5678-hv8f Exploit, Patch, Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:parity:ink\!:*:*:*:*:*:rust:*:* versions from (including) 4.0.0 up to (excluding) 4.2.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-34449
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-34449
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.13 }} 0.02%
score
0.49431
percentile