Vulnerability 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";
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Solanalabs | Rbpf | >= 0.2.14, <= 0.2.16 |
Related Weaknesses (CWE)
References
- https://blocksecteam.medium.com/new-integer-overflow-bug-discovered-in-solana-rbExploitThird Party Advisory
- https://github.com/solana-labs/rbpf/blob/c14764850f0b83b58aa013248eaf6d65836c121ExploitThird Party Advisory
- https://github.com/solana-labs/rbpf/pull/200PatchThird Party Advisory
- https://github.com/solana-labs/rbpf/pull/236PatchThird Party Advisory
- https://blocksecteam.medium.com/new-integer-overflow-bug-discovered-in-solana-rbExploitThird Party Advisory
- https://github.com/solana-labs/rbpf/blob/c14764850f0b83b58aa013248eaf6d65836c121ExploitThird Party Advisory
- https://github.com/solana-labs/rbpf/pull/200PatchThird Party Advisory
- https://github.com/solana-labs/rbpf/pull/236PatchThird Party Advisory
FAQ
What is CVE-2021-46102?
CVE-2021-46102 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 s...
How severe is CVE-2021-46102?
CVE-2021-46102 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-46102?
Check the references section above for vendor advisories and patch information. Affected products include: Solanalabs Rbpf.