CVE-2021-46102

HIGHCVSS 7.5/10EPSS 1.87%

Last modified

CVE-2021-46102 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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";. EPSS estimates a 1.87% chance of exploitation in the next 30 days.

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";

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Probability
1.87%

76.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
SolanalabsRbpf>= 0.2.14, <= 0.2.16

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-46102?
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 severe is CVE-2021-46102?
CVE-2021-46102 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.87% probability of exploitation in the next 30 days.
How do I fix CVE-2021-46102?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-46102?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST