~ / search / GHSA-9qmm-4mfr-r3wj

GHSA-9qmm-4mfr-r3wj

Incorrect Calculation in solana_rbpf

Source: GitHub Advisory Database (reviewed) Critical CVE-2022-23066

Packages

EcosystemPackageAffectedFixed in
crates.io solana_rbpf >= 0.2.26, < 0.2.28 0.2.28

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.