Improper Restriction of Operations within the Bounds of a Memory Buffer Affecting @solana/web3.js package, versions <1.91.3


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (12th 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 IDSNYK-JS-SOLANAWEB3JS-6647564
  • published18 Apr 2024
  • disclosed17 Apr 2024
  • creditUnknown

Introduced: 17 Apr 2024

CVE-2024-30253  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade @solana/web3.js to version 1.91.3 or higher.

Overview

@solana/web3.js is a Solana JavaScript SDK

Affected versions of this package are vulnerable to Improper Restriction of Operations within the Bounds of a Memory Buffer due to the deserialization of the Message/Transaction object. Using specific inputs can lead to memory exhaustion and potentially crash the application or service, resulting in a loss of availability.

References

CVSS Scores

version 3.1