CVE-2021-46102
Integer overflow in solana_rbpf
7.5
HIGH
CVSS 3.1
EPSS 1.9%
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`
How to fix CVE-2021-46102
To remediate CVE-2021-46102, upgrade the affected package to a fixed version below.
- —upgrade to 0.2.17 or later
Is CVE-2021-46102 being exploited?
Low — EPSS is 1.9%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 0.2.14, < 0.2.17
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |