Skip to main content
← All vulnerabilities
CVE-2024-41945GHSA-3JCG-VX7F-J6QF

The fuels-ts typescript SDK has no awareness of to-be-spent transactions

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.93.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

fuels-ts is a library for interacting with Fuel v2. The typescript SDK has no awareness of to-be-spent transactions causing some transactions to fail or silently get pruned as they are funded with already used UTXOs. The problem occurs, because the `fund` function in `fuels-ts/packages/account/src/account.ts` gets the needed ressources statelessly with the function `getResourcesToSpend` without taking into consideration already used UTXOs. This issue will lead to unexpected SDK behaviour, such as a transaction not getting included in the `txpool` / in a block or a previous transaction silently getting removed from the `txpool` and replaced with a new one.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • FuelLabs fuels-ts

    fixed in 0.93.0

  • @fuel-ts/accountnpm

    fixed in 0.93.0

References 1

GitHub · FuelLabs/fuels-ts