CVE-2021-46102
CVSS V2 Medium 5
CVSS V3 High 7.5
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";
Overview
- CVE ID
- CVE-2021-46102
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2022-01-27T18:15:07
- Last Modified Date
- 2023-04-26T19:10:22
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:solana:rbpf:*:*:*:*:*:*:*:* | 1 | OR | 0.2.14 | 0.2.16 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://blocksecteam.medium.com/new-integer-overflow-bug-discovered-in-solana-rbpf-7729717159ee | Exploit Third Party Advisory |
https://github.com/solana-labs/rbpf/pull/236 | Patch Third Party Advisory |
https://github.com/solana-labs/rbpf/blob/c14764850f0b83b58aa013248eaf6d65836c1218/src/elf.rs#L609-L630 | Exploit Third Party Advisory |
https://github.com/solana-labs/rbpf/pull/200 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-46102 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46102 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:34:08 | Added to TrackCVE | |||
2022-12-06 07:50:26 | 2022-01-27T18:15Z | 2022-01-27T18:15:07 | CVE Published Date | updated |
2022-12-06 07:50:26 | 2022-02-07T14:38:03 | CVE Modified Date | updated | |
2022-12-06 07:50:26 | Analyzed | Vulnerability Status | updated | |
2023-03-07 19:13:30 | Analyzed | Undergoing Analysis | Vulnerability Status | updated |
2023-04-26 19:17:59 | 2023-04-26T19:10:22 | CVE Modified Date | updated | |
2023-04-26 19:17:59 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |