CVE-2023-34449
Summary
| CVE | CVE-2023-34449 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-06-14 21:15:00 UTC |
| Updated | 2023-06-28 20:46:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-754
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Add support for language level errors (`LangError`) by HCastano · Pull Request #1450 · paritytech/ink · GitHub | MISC | github.com | |
| CallBuilder in ink_env::call - Rust | MISC | docs.rs | |
| Merge pull request from GHSA-853p-5678-hv8f · paritytech/ink@f1407ee · GitHub | MISC | github.com | |
| Incorrect decoding of storage value when using `DelegateCall` · Advisory · paritytech/ink · GitHub | MISC | github.com | |
| invoke_contract_delegate in ink_env - Rust | MISC | docs.rs | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 996218 Rust (Rust) Security Update for ink (GHSA-853p-5678-hv8f)