Paper/Archive/CVE-2022-23066

CVE-2022-23066

solana-labs rbpf — Solana rBPF - Incorrect Calculation in sdiv instruction

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
rbpf0.2.26 – < unspecifiedunspecifiedCNA
rbpfunspecified – 0.2.27–CNA

Scores by source

Mend (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References

refgithub.com/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297refwhitesourcesoftware.com/vulnerability-database/CVE-2022-23066refblocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324