{"id":"CVE-2024-41945","published":"2024-07-30T19:42:06Z","modified":"2024-08-02T04:54:31Z","title":"The fuels-ts typescript SDK has no awareness of to-be-spent transactions","vendor":"FuelLabs","product":"fuels-ts","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.1,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00475,"percentile":0.33357,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/FuelLabs/fuels-ts/security/advisories/GHSA-3jcg-vx7f-j6qf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":6.67},{"name":"CVSS severity","points":2.17}]},"vendorSlug":"fuellabs","affectedVersions":[{"vendor":"FuelLabs","product":"fuels-ts","versions":["< 0.93.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-31T13:27:12.497228Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@fuel-ts/account","vulnerableRanges":["<0.93.0"],"patched":["0.93.0"],"from":["GHSA-3jcg-vx7f-j6qf"],"provenance":"source"}],"summary":{"text":"The fuels-ts TypeScript SDK's fund function in packages/account/src/account.ts selects spendable resources statelessly through getResourcesToSpend, without accounting for UTXOs already committed to pending transactions. An attacker with network access and low privileges can cause transactions to fail or be silently dropped from the txpool or a block, or have a prior transaction replaced, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:49Z"},"euvd":{"id":"EUVD-2024-2237","exploited":false,"provenance":"source"}}