Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Lichtso

#35379of 53,624
7.5Total CVSS
Vulnerabilities · 1
PT-2022-12567
7.5
2022-01-27
Solana · Solana Rbpf · CVE-2021-46102
**Name of the Vulnerable Software and Affected Versions** Solana rBPF versions 0.2.14 through 0.2.16 **Description** The issue is related to an integer overflow bug in the function "relocate" in the file src/elf.rs. This bug occurs because the sym.st value is read directly from the 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`. **Recommendations** For Solana rBPF versions 0.2.14 through 0.2.16, consider disabling the "relocate" function in the file src/elf.rs as a temporary workaround until a patch is available. Restrict access to the vulnerable file src/elf.rs to minimize the risk of exploitation. Avoid using the variable `addr` in the affected calculation until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.