Improper Input Validation Affecting fuels package, versions <0.93.0


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-FUELS-7574750
  • published31 Jul 2024
  • disclosed30 Jul 2024
  • creditUnknown

Introduced: 30 Jul 2024

CVE-2024-41945  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade fuels to version 0.93.0 or higher.

Overview

fuels is a Fuel TS SDK

Affected versions of this package are vulnerable to Improper Input Validation via the fund function in fuels-ts/packages/account/src/account.ts file, that gets the needed resources statelessly with the function getResourcesToSpend without taking into consideration already used UTXOs. This vulnerability will lead to unexpected SDK behaviourthat could cause a transaction to not get included in the txpool/in a block or for a previous transaction to silently get removed from the txpool and be replaced with a new one.

References

CVSS Scores

version 4.0
version 3.1