Incorrect Calculation Affecting solana_rbpf package, versions <0.2.28


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.27% (69th 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-RUST-SOLANARBPF-2812503
  • published9 May 2022
  • disclosed9 May 2022
  • creditUnknown

Introduced: 9 May 2022

CVE-2022-23066  (opens in a new tab)
CWE-682  (opens in a new tab)

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

CVSS Scores

version 3.1