9.1critical
Solana rBPF - Incorrect Calculation in sdiv instruction
- Severity
- 9.1critical CVSS:3.1 by Mend
- Exploit likelihood
- 2.52% (higher than 85% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Mend
- Also known as
- GHSA-9qmm-4mfr-r3wj
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| solana-labs rbpf | from 0.2.26 before unspecified, from unspecified up to 0.2.27 | CVE List |
| solana_rbpf (crates.io) | from 0.2.26 before 0.2.28 | GitHub Advisory Database |
| solana rbpf | 0.2.26, 0.2.27 | NVD |
All scores
| Mend | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 6.4medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
En Solana rBPF versiones 0.2.26 y 0.2.27, están afectadas por un Cálculo Incorrecto que es causado por la implementación inapropiada de la instrucción sdiv. Esto puede conllevar a una ruta de ejecución errónea, resultando en grandes pérdidas en casos concretos. Por ejemplo, el resultado de una instrucción sdiv puede decidir si son transferidas fichas o no. La vulnerabilidad afecta tanto a la integridad como puede causar graves problemas de disponibilidad
References
| https://github.com/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297 | patch, third-party-advisory, web | |
| https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23066 | exploit, third-party-advisory, web | |
| https://blocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-23066 | advisory | |
| https://github.com/solana-labs/rbpf | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-23066 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9qmm-4mfr-r3wj changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-23066 changed 2026-06-17 | Public domain |