CVE-2021-46102
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/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Solanalabs | Rbpf | >= 0.2.14, <= 0.2.16 |
References
- https://blocksecteam.medium.com/new-integer-overflow-bug-discovered-in-solana-rbpf-7729717159eeExploit, Third Party Advisory
- https://github.com/solana-labs/rbpf/blob/c14764850f0b83b58aa013248eaf6d65836c1218/src/elf.rs#L609-L630Exploit, Third Party Advisory
- https://github.com/solana-labs/rbpf/pull/200Patch, Third Party Advisory
- https://github.com/solana-labs/rbpf/pull/236Patch, Third Party Advisory
- https://blocksecteam.medium.com/new-integer-overflow-bug-discovered-in-solana-rbpf-7729717159eeExploit, Third Party Advisory
- https://github.com/solana-labs/rbpf/blob/c14764850f0b83b58aa013248eaf6d65836c1218/src/elf.rs#L609-L630Exploit, Third Party Advisory
- https://github.com/solana-labs/rbpf/pull/200Patch, Third Party Advisory
- https://github.com/solana-labs/rbpf/pull/236Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-46102?
How severe is CVE-2021-46102?
How do I fix CVE-2021-46102?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-46087In jfinal_cms >= 5.1 0, there is a storage XSS vulnerability…5.4
- CVE-2021-46088Zabbix 4.0 LTS, 4.2, 4.4, and 5.0 LTS is vulnerable to Remot…7.2
- CVE-2021-46089In JeecgBoot 3.0, there is a SQL injection vulnerability tha…9.8
- CVE-2021-46093eliteCMS v1.0 is vulnerable to Insecure Permissions via mana…9.8
- CVE-2021-46097Dolphinphp v1.5.0 contains a remote code execution vulnerabi…8.8
- CVE-2021-46101In Git for windows through 2.34.1 when using git pull to upd…7.5
- CVE-2021-46104An issue was discovered in webp_server_go 0.4.0. There is a …7.5
- CVE-2021-46107Ligeo Archives Ligeo Basics as of 02_01-2022 is vulnerable t…7.5
- CVE-2021-46108D-Link DSL-2730E CT-20131125 devices allow XSS via the usern…5.4
- CVE-2021-46109Invalid input sanitizing leads to reflected Cross Site Scrip…6.1
- CVE-2021-46110Online Shopping Portal v3.1 was discovered to contain multip…9.8
- CVE-2021-46113In MartDevelopers KEA-Hotel-ERP open source as of 12-31-2021…8.8
Are you affected by CVE-2021-46102?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
