CVE-2023-34449Parity Ink!
Medium 5.3 No auth needed
Follow: this CVE · Parity · Parity Ink! We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 61
- Auth required
- No
- Published
- Jun 14, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Ink!.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | ink |
≥ 4.0.0 < 4.2.1 |
4.2.1 |
cargo update -p ink --precise 4.2.1 |
| crates.io | ink_env |
≥ 4.0.0 < 4.2.1 |
4.2.1 |
cargo update -p ink_env --precise 4.2.1 |
Per OSV / GitHub Advisories (GHSA-853p-5678-hv8f). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| parity | ink! | ≥ 4.0.0 < 4.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- docs.rs Exploit Third Party Advisory
- docs.rs Exploit Third Party Advisory
- github.com Patch
- github.com Patch Vendor Advisory
- github.com Exploit Patch Vendor Advisory