The fuels-ts typescript SDK has no awareness of to-be-spent transactions
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-41945
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 21:02 UTC · Revision 1
Source evidence
The fuels-ts typescript SDK has no awareness of to-be-spent transactions
core-osv · Original sourcePublished 30 Jul 2024, 19:42 UTC
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.
osv:CVE-2024-41945
Complete source record
{
"id": "530311415cc7cdeaa7a61909c272f07bc2358d9b571fd6b4c6cb5f00dbdd6540",
"url": "https://osv.dev/vulnerability/CVE-2024-41945",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "The fuels-ts typescript SDK has no awareness of to-be-spent transactions",
"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.",
"evidence": "osv:CVE-2024-41945",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2024-41945",
"aliases": [
"CVE-2024-41945",
"GHSA-3jcg-vx7f-j6qf"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/fuellabs/fuels-ts",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bd1cbd90c2fa4c0bbef36b442c18778af72b3a89"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.93.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
}
],
"versions": [
"v0.92.1",
"v0.92.0",
"v0.91.0",
"v0.90.0",
"v0.89.2",
"v0.89.1",
"v0.89.0",
"v0.88.1",
"v0.88.0",
"v0.87.0",
"v0.86.0",
"v0.85.0",
"v0.84.0",
"v0.83.0",
"v0.82.0",
"v0.81.0",
"v0.80.0",
"v0.76.5",
"v0.79.0",
"v0.76.4",
"v0.78.0",
"v0.76.3",
"v0.76.2",
"v0.76.1",
"v0.76.0",
"v0.77.0",
"v0.75.0",
"v0.74.0",
"v0.73.0",
"v0.72.0",
"v0.71.1",
"v0.71.0",
"v0.70.1",
"v0.69.1",
"v0.69.0",
"v0.68.0",
"v0.67.0",
"v0.66.1",
"v0.66.0",
"v0.65.0",
"v0.64.1",
"v0.64.0",
"v0.63.0",
"v0.62.0",
"v0.61.0",
"v0.60.0",
"v0.59.0",
"v0.58.0",
"v0.57.0",
"v0.56.1",
"v0.56.0",
"v0.55.0",
"v0.54.1",
"v0.54.0",
"v0.53.0",
"v0.52.0",
"v0.51.0",
"v0.50.0",
"v0.49.1",
"v0.49.0",
"v0.48.2",
"v0.48.1",
"v0.48.0",
"v0.47.0",
"v0.46.0",
"v0.45.0",
"v0.44.2",
"v0.44.1",
"v0.44.0",
"v0.43.1",
"v0.43.0",
"v0.42.0",
"v0.41.0",
"v0.40.0",
"v0.39.1",
"v0.39.0",
"v0.38.1",
"v0.38.0",
"v0.37.1",
"v0.37.0",
"v0.36.0",
"v0.35.0",
"v0.34.1",
"v0.34.0",
"v0.33.0",
"v0.32.0",
"v0.31.0",
"v0.30.0",
"v0.29.1",
"v0.29.0",
"v0.28.1",
"v0.28.0",
"v0.27.0",
"v0.26.0",
"v0.25.1",
"v0.25.0",
"v0.24.2",
"v0.24.1",
"v0.24.0",
"v0.23.0",
"v0.22.2",
"v0.22.1",
"v0.22.0",
"v0.21.2",
"v0.21.1",
"v0.21.0",
"v0.20.0",
"v0.19.0",
"v0.17.0",
"v0.16.0",
"v0.15.0",
"v0.14.0",
"v0.13.0",
"v0.12.0",
"v0.11.0",
"v0.10.0",
"v0.8.0",
"v0.7.0",
"v0.6.0",
"v0.5.0",
"v0.4.0",
"v0.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41945.json"
}
}
],
"modified": "2026-10-28T02:30:23.644153322Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41945.json",
"https://github.com/FuelLabs/fuels-ts/security/advisories/GHSA-3jcg-vx7f-j6qf",
"https://nvd.nist.gov/vuln/detail/CVE-2024-41945"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41945.json"
}
},
"related_cves": [
{
"value": "CVE-2024-41945",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490023,
"published_at": "2024-07-30T19:42:06.663+00:00"
}