CVE-2022-23066 Solana rBPF - Incorrect Calculation in sdiv instruction
CriticalCVSS 9.1
EPSS 2.5%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
3 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| solana-labs rbpf | <= 0.2.27; >= 0.2.26 | after 0.2.27 | Partially fixed |
| crates.io solana_rbpf(crates.io) | >= 0.2.26, < 0.2.28 | 0.2.28 | Fixed |
| solana rbpf | = 0.2.26; = 0.2.27 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io solana_rbpf(crates.io) | >= 0.2.26, < 0.2.28 | 0.2.28 |
| solana-labs rbpf | >= 0.2.26 | No fix listed |
| solana-labs rbpf | <= 0.2.27 | No fix listed |
| solana rbpf | = 0.2.26 | No fix listed |
| solana rbpf | = 0.2.27 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- www.whitesourcesoftware.com exploit third-party-advisory
- blocksecteam.medium.com exploit third-party-advisory
- github.com
- github.com product