5.3

CVE-2023-34449: parity ink\! Incorrect Check of Function Return Value

CVSS: 5.3v3.1MediumModified
AliasesGHSA-853p-5678-hv8f
Published 14-06-2023Last modified 30-12-2024

Vulnerability summary

CVE-2023-34449 is a medium (CVSS 5.3) Incorrect Check of Function Return Value vulnerability in parity ink\!. EPSS estimates a 0.97% chance of exploitation in the next 30 days, higher than 61.3% of scored vulnerabilities. 3 public exploits are recorded.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.97%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits3github, reference

Timeline

  1. 14-06-2023
    PublishedVulnerability first disclosed.
  2. 30-12-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.97%

Chance of exploitation in the next 30 days

Percentile

61%

Versus all other CVEs

30-day change

0.00 pp

From 0.97% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.97%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

3 found
  • githubUnverified

    Ink

    Maturity: poc

  • referenceUnverified

    Exploit Reference (docs.rs)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (docs.rs)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Crates.Io2 products
  • ink≥ 4.0.0, < 4.2.1
  • ink_env≥ 4.0.0, < 4.2.1
Parity1 product
Paritytech1 product
  • ink≥ 4.0.0, < 4.2.1

3 vendors · 4 products

References

7 links