CVE-2022-23066
JSON

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 packageVersionsReported by
solana-labs rbpffrom 0.2.26 before unspecified, from unspecified up to 0.2.27CVE List
solana_rbpf (crates.io)from 0.2.26 before 0.2.28GitHub Advisory Database
solana rbpf0.2.26, 0.2.27NVD

All scores

Mend9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD6.4medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2022-23066 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-9qmm-4mfr-r3wj changed 2023-11-08CC-BY-4.0
NVDCVE-2022-23066 changed 2026-06-17Public domain