CVE-2022-23066CWE-682

Solana rBPF - Incorrect Calculation in sdiv instruction

Critical · published May 9, 2022

CVSS v3.1
9.1
EPSS
3%
Percentile
84.7
In the wild
Unconfirmed
What it is

🔥 A tiny miscalculation in Solana's rBPF could lead to colossal consequences – we're talking token transfers gone wrong! Think of it like a cashier incorrectly calculating your change. If they misinterpret a simple division, you might walk away shortchanged, or worse, unable to buy your groceries! This oversight could allow an attacker to manipulate token transfers, leading to potentially devastating financial losses. It's not just about numbers here; the integrity of the entire system could be compromised, threatening availability in critical scenarios. Imagine transaction failures cascading through a network, leaving users stranded!

Put simply

Think of it like a cashier incorrectly calculating your change. If they misinterpret a simple division, you might walk away shortchanged, or worse, unable to buy your groceries! In Solana rBPF versions 0.2.26 and 0.2.27, the sdiv instruction's improper implementation creates an incorrect execution path, affecting both the integrity of computations and system availability.

What to do

This oversight could allow an attacker to manipulate token transfers, leading to potentially devastating financial losses. It's not just about numbers here; the integrity of the entire system could be compromised, threatening availability in critical scenarios. Imagine transaction failures cascading through a network, leaving users stranded! Update to rBPF version 0.2.28 immediately to patch this vulnerability. Additionally, conduct a thorough review of any token transfer logic to ensure that calculations are accurate and resilient against edge cases. You've got this! By staying ahead of vulnerabilities, you're helping to keep the crypto space safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02516 · 84.7th percentile
Weakness
CWE-682 · Incorrect Calculation
Published
2022-05-09T06:25Z
EPSS history
Timeline
  • 09 MAY 06:25Z
    Solana rBPF - Incorrect Calculation in sdiv instruction
    cvelistv5