CVE-2021-46102 – solana_rbpf
Package
Manager: cargo
Name: solana_rbpf
Vulnerable Version: >=0.2.14 <0.2.17
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00528 pctl0.66229
Details
Integer overflow in solana_rbpf From version 0.2.14 to 0.2.16 for Solana rBPF, function "relocate" in the file src/elf.rs has an integer overflow bug because the sym.st_value is read directly from ELF file without checking. If the sym.st_value is rather large, an integer overflow is triggered while calculating the variable "addr" via `addr = (sym.st_value + refd_pa) as u64`
Metadata
Created: 2022-01-28T22:59:28Z
Modified: 2023-04-26T22:14:09Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-xwqr-xmgg-j69q/GHSA-xwqr-xmgg-j69q.json
CWE IDs: ["CWE-190"]
Alternative ID: GHSA-xwqr-xmgg-j69q
Finding: F111
Auto approve: 1