Incorrect Calculation Affecting solana_rbpf package, versions <0.2.28


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Integrity High
    Availability High
Expand this section
NVD
9.1 critical

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-RUST-SOLANARBPF-2812503
  • published 9 May 2022
  • disclosed 9 May 2022
  • credit Unknown

How to fix?

Upgrade solana_rbpf to version 0.2.28 or higher.

Overview

solana_rbpf is a virtual machine for eBPF program execution

Affected versions of this package are vulnerable to Incorrect Calculation which is caused by improper implementation of the sdiv instruction. This can lead to the wrong execution path, resulting in a huge loss.

References