CVE-2023-34449
Last modified
CVE-2023-34449 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.97% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Parity | Ink\! | >= 4.0.0, < 4.2.1 |
References
- https://docs.rs/ink_env/4.2.0/ink_env/call/struct.CallBuilder.html#method.delegateExploit, Third Party Advisory
- https://docs.rs/ink_env/4.2.0/ink_env/fn.invoke_contract_delegate.htmlExploit, Third Party Advisory
- https://github.com/paritytech/ink/pull/1450Patch, Vendor Advisory
- https://github.com/paritytech/ink/security/advisories/GHSA-853p-5678-hv8fExploit, Patch, Vendor Advisory
- https://docs.rs/ink_env/4.2.0/ink_env/call/struct.CallBuilder.html#method.delegateExploit, Third Party Advisory
- https://docs.rs/ink_env/4.2.0/ink_env/fn.invoke_contract_delegate.htmlExploit, Third Party Advisory
- https://github.com/paritytech/ink/pull/1450Patch, Vendor Advisory
- https://github.com/paritytech/ink/security/advisories/GHSA-853p-5678-hv8fExploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-34449?
How severe is CVE-2023-34449?
How do I fix CVE-2023-34449?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-34443Combodo iTop is a simple, web based IT Service Management to…6.1
- CVE-2023-34444Combodo iTop is a simple, web based IT Service Management to…6.1
- CVE-2023-34445Combodo iTop is a simple, web based IT Service Management to…6.1
- CVE-2023-34446iTop is an open source, web-based IT service management plat…6.1
- CVE-2023-34447iTop is an open source, web-based IT service management plat…6.1
- CVE-2023-34448Grav is a flat-file content management system. Prior to vers…7.2
- CVE-2023-3445Cross-site Scripting (XSS) - Stored in GitHub repository spi…4.8
- CVE-2023-34450CometBFT is a Byzantine Fault Tolerant (BFT) middleware that…5.3
- CVE-2023-34451CometBFT is a Byzantine Fault Tolerant (BFT) middleware that…8.2
- CVE-2023-34452Grav is a flat-file content management system. In versions 1…6.1
- CVE-2023-34453snappy-java is a fast compressor/decompressor for Java. Due …7.5
- CVE-2023-34454snappy-java is a fast compressor/decompressor for Java. Due …7.5
Are you affected by CVE-2023-34449?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
