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


0.0
high

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 0.04% (9th 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 ID SNYK-JS-SOLANAWEB3JS-6647564
  • published 18 Apr 2024
  • disclosed 17 Apr 2024
  • credit Unknown

How to fix?

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

Overview

@solana/web3.js is a Solana Javascript API

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