CVE-2024-41945CWE-20

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

Low · published July 30, 2024

CVSS v3.1
3.1
EPSS
0%
Percentile
22.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.1 · LOW
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00309 · 22.5th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2024-07-30T19:42Z
EPSS history
Timeline
  • 30 JUL 19:42Z
    The fuels-ts typescript SDK has no awareness of to-be-spent transactions
    cvelistv5