Advisory

GHSA-9qmm-4mfr-r3wj

Also known as: CVE-2022-23066

Summary

Incorrect Calculation in solana_rbpf

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-10 00:00 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

solana_rbpf

crates.io · All systems

Affected

  • introduced 0.2.26, fixed 0.2.28 (semver)

Fixed versions

0.2.28

Fix

  • Fixed version 0.2.28
    cargo update -p solana_rbpf --precise 0.2.28

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences