CVE-2021-46102

Published Jan 27, 2022 CVSS 3.1 · 7.5 High EPSS 1.9% KEV · Not listed
Description
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";

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0750 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";
Github GHSA Github GHSA GHSA-xwqr-xmgg-j69q Integer overflow in solana_rbpf
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 5:02 AM
Reserved
Jan 3, 2022, 12:00 AM
Status
Modified
Published
Jan 27, 2022, 6:15 PM
Modified
Jun 17, 2026, 4:14 AM