Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. solana_rbpf
  4. ›
  5. CVE-2022-23066

CVE-2022-23066: Incorrect Calculation in solana_rbpf

May 10, 2022 (updated May 24, 2022)

In Solana rBPF versions 0.2.26 and 0.2.27 are affected by Incorrect Calculation which is caused by improper implementation of sdiv instruction. This can lead to the wrong execution path, resulting in huge loss in specific cases. For example, the result of a sdiv instruction may decide whether to transfer tokens or not. The vulnerability affects both integrity and may cause serious availability problems.

References

  • blocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324
  • github.com/advisories/GHSA-9qmm-4mfr-r3wj
  • github.com/solana-labs/rbpf
  • github.com/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297
  • nvd.nist.gov/vuln/detail/CVE-2022-23066
  • www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23066

Code Behaviors & Features

Detect and mitigate CVE-2022-23066 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.2.26 before 0.2.28

Fixed versions

  • 0.2.28

Solution

Upgrade to version 0.2.28 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-682: Incorrect Calculation

Source file

cargo/solana_rbpf/CVE-2022-23066.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:28 +0000.