CVE-2021-46102

Summary

CVECVE-2021-46102
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-01-27 18:15:00 UTC
Updated2023-04-26 19:10:00 UTC
DescriptionFrom 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";

Risk And Classification

Problem Types: CWE-190

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Solana Rbpf All All All All
Application Solanalabs Rbpf All All All All

References

ReferenceSourceLinkTags
Fix: Unchecked integer arithmetic in elf.rs by Lichtso · Pull Request #236 · solana-labs/rbpf · GitHub MISC github.com
rbpf/elf.rs at c14764850f0b83b58aa013248eaf6d65836c1218 · solana-labs/rbpf · GitHub MISC github.com
New Integer Overflow Bug Discovered in Solana rBPF | by BlockSecTeam | Dec, 2021 | Medium MISC blocksecteam.medium.com
Implement handling of R_BPF_64_64 relocations used in ld_imm64 by dmakarov · Pull Request #200 · solana-labs/rbpf · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report