CVE-2021-46102: Integer overflow in solana_rbpf
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.64989%
CWE
Published
1/28/2022
Updated
4/26/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
solana_rbpf | rust | >= 0.2.14, < 0.2.17 | 0.2.17 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly identifies the 'relocate' function in src/elf.rs as containing the integer overflow. The code analysis shows sym.st_value is used in an unchecked addition operation. The GitHub advisory and CVE both confirm this is the vulnerable function. The fix in v0.2.17 adds overflow checks (e.g., checked_add), validating this as the root cause location.